projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5771465
)
tcpip comstack: increase max recv to 128 MB
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 3 Sep 2012 13:10:59 +0000
(15:10 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 3 Sep 2012 13:10:59 +0000
(15:10 +0200)
src/tcpip.c
patch
|
blob
|
history
diff --git
a/src/tcpip.c
b/src/tcpip.c
index
9ad48bc
..
986abc9
100644
(file)
--- 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;