Ver código fonte

core: default tcp read buffer size set to 16kB

(cherry picked from commit eccc58969ca38b9eecd22a0d1ecccf440d9e8ec4)
Daniel-Constantin Mierla 11 anos atrás
pai
commit
ae897e06da
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      tcp_init.h

+ 1 - 1
tcp_init.h

@@ -41,7 +41,7 @@
 
 #define DEFAULT_TLS_MAX_CONNECTIONS 2048 /* maximum tls connections */
 
-#define DEFAULT_TCP_BUF_SIZE	4096  /* buffer size used for reads */
+#define DEFAULT_TCP_BUF_SIZE	16384  /* 16k - buffer size used for reads */
 
 #define DEFAULT_TCP_WBUF_SIZE	2100 /*  after debugging switch to 4-16k */