Explorar o código

Make max HTTP message size (max update size) larger since Windows MSI is about 8MB already.

Adam Ierymenko %!s(int64=10) %!d(string=hai) anos
pai
achega
7213a6cf0b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      service/OneService.cpp

+ 1 - 1
service/OneService.cpp

@@ -101,7 +101,7 @@ namespace ZeroTier { typedef BSDEthernetTap EthernetTap; }
 #endif
 
 // Sanity limits for HTTP
-#define ZT_MAX_HTTP_MESSAGE_SIZE (1024 * 1024 * 8)
+#define ZT_MAX_HTTP_MESSAGE_SIZE (1024 * 1024 * 64)
 #define ZT_MAX_HTTP_CONNECTIONS 64
 
 // Interface metric for ZeroTier taps