[sr-dev] git:master: core: default tcp read buffer size set to 16kB

Daniel-Constantin Mierla miconda at gmail.com
Mon Oct 13 13:46:49 CEST 2014


Module: sip-router
Branch: master
Commit: eccc58969ca38b9eecd22a0d1ecccf440d9e8ec4
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=eccc58969ca38b9eecd22a0d1ecccf440d9e8ec4

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Oct 13 13:07:17 2014 +0200

core: default tcp read buffer size set to 16kB

---

 tcp_init.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tcp_init.h b/tcp_init.h
index 2bdbeaf..3d111a2 100644
--- a/tcp_init.h
+++ b/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 */
 




More information about the sr-dev mailing list