Increase Communicator buffer size to 64k
[libs/net.git] / source / net / communicator.cpp
index 051e45a14bbb4f33d262429df400fe4f6b6b60dd..3d6353a2158fb2d62fbe6df164085a1b2ea7a417 100644 (file)
@@ -58,7 +58,7 @@ Communicator::Communicator(StreamSocket &s, const Protocol &p, ReceiverBase &r):
        protocol(p),
        receiver(r),
        handshake_status(0),
-       buf_size(1024),
+       buf_size(65536),
        in_buf(new char[buf_size]),
        in_begin(in_buf),
        in_end(in_buf),