X-Git-Url: http://git.tdb.fi/?p=libs%2Fnet.git;a=blobdiff_plain;f=source%2Fnet%2Fcommunicator.cpp;h=22a79631d9a214741fdbf71721d8e6322986ea4e;hp=051e45a14bbb4f33d262429df400fe4f6b6b60dd;hb=8248f2912454229f4ded72b8fb4db3e76ea3ad15;hpb=5f312d842b55f53ac78ae2c658cab064debe74e6 diff --git a/source/net/communicator.cpp b/source/net/communicator.cpp index 051e45a..22a7963 100644 --- a/source/net/communicator.cpp +++ b/source/net/communicator.cpp @@ -1,5 +1,6 @@ #include #include "communicator.h" +#include "protocol_impl.h" #include "streamsocket.h" using namespace std; @@ -58,7 +59,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),