소스 검색

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