From: Adam Dickmeiss Date: Mon, 3 Sep 2012 13:10:59 +0000 (+0200) Subject: tcpip comstack: increase max recv to 128 MB X-Git-Tag: v4.2.37~5 X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=commitdiff_plain;h=b3f7c70decd161e3aa6ad25d08db436662e32624 tcpip comstack: increase max recv to 128 MB --- 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;