浏览代码

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

Adam Ierymenko 10 年之前
父节点
当前提交
7213a6cf0b
共有 1 个文件被更改,包括 1 次插入1 次删除
  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