[sr-dev] git:master: core: support for receiving requests > 64kb on TCP

Peter Dunkley peter.dunkley at crocodile-rcs.com
Mon Jul 25 11:55:02 CEST 2011


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

Author: pd <peter.dunkley at crocodile-rcs.com>
Committer: pd <peter.dunkley at crocodile-rcs.com>
Date:   Mon Jul 25 10:53:10 2011 +0100

core: support for receiving requests > 64kb on TCP

- Issue found and fixed by Andrew Miller at Crocodile RCS

---

 tcp_options.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tcp_options.c b/tcp_options.c
index 734f9fb..122965a 100644
--- a/tcp_options.c
+++ b/tcp_options.c
@@ -114,7 +114,7 @@ static cfg_def_t tcp_cfg_def[] = {
 		"accept TCP messges without Content-Lenght "},
 	/* internal and/or "fixed" versions of some vars
 	   (not supposed to be writeable, read will provide only debugging value*/
-	{ "rd_buf_size", CFG_VAR_INT | CFG_ATOMIC,    512,    65536,  0,         0,
+	{ "rd_buf_size", CFG_VAR_INT | CFG_ATOMIC,    512,    16777216,  0,         0,
 		"internal read buffer size (should be > max. expected datagram)"},
 	{ "wq_blk_size", CFG_VAR_INT | CFG_ATOMIC,    1,    65535,  0,         0,
 		"internal async write block size (debugging use only for now)"},




More information about the sr-dev mailing list