Changeset: 892d315322c5 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=892d315322c5
Modified Files:
tools/merovingian/daemon/controlrunner.c
Branch: Dec2011
Log Message:
ctl_handle_client: increase receive buffer size
Since multiplex-funnel descriptions are now sent as commands, people are
likely to overrun the 256 bytes limit. Increase the buffer size to 8K,
in the hope that that is enough. We can't easily read dynamically sized
buffers here.
diffs (12 lines):
diff --git a/tools/merovingian/daemon/controlrunner.c
b/tools/merovingian/daemon/controlrunner.c
--- a/tools/merovingian/daemon/controlrunner.c
+++ b/tools/merovingian/daemon/controlrunner.c
@@ -170,7 +170,7 @@ static void ctl_handle_client(
* over of the socket such that a separate (controlrunner) thread is
* going to handle the traffic and negotiations, instead of the
* client thread that just goes inside this program here. */
- char buf[256];
+ char buf[8096];
char buf2[8096];
char *p, *q;
sabdb *stats;
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list