From b3f7c70decd161e3aa6ad25d08db436662e32624 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 3 Sep 2012 15:10:59 +0200 Subject: [PATCH] tcpip comstack: increase max recv to 128 MB --- src/tcpip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tcpip.c b/src/tcpip.c index 9ad48bc..986abc9 100644 --- a/src/tcpip.c +++ b/src/tcpip.c @@ -204,7 +204,7 @@ COMSTACK tcpip_type(int s, int flags, int protocol, void *vp) p->f_addrstr = tcpip_addrstr; p->f_straddr = tcpip_straddr; p->f_set_blocking = tcpip_set_blocking; - p->max_recv_bytes = 5000000; + p->max_recv_bytes = 128 * 1024 * 1024; p->state = s < 0 ? CS_ST_UNBND : CS_ST_IDLE; /* state of line */ p->event = CS_NONE; -- 1.7.10.4