Browse Source

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

Adam Ierymenko 10 years ago
parent
commit
7213a6cf0b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      service/OneService.cpp

+ 1 - 1
service/OneService.cpp

@@ -101,7 +101,7 @@ namespace ZeroTier { typedef BSDEthernetTap EthernetTap; }
 #endif
 #endif
 
 
 // Sanity limits for HTTP
 // 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
 #define ZT_MAX_HTTP_CONNECTIONS 64
 
 
 // Interface metric for ZeroTier taps
 // Interface metric for ZeroTier taps