summaryrefslogtreecommitdiff
path: root/socketft.h
diff options
context:
space:
mode:
Diffstat (limited to 'socketft.h')
-rw-r--r--socketft.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/socketft.h b/socketft.h
index e8baef0..96f5412 100644
--- a/socketft.h
+++ b/socketft.h
@@ -200,8 +200,8 @@ private:
class SocketSink : public NetworkSink, public Socket
{
public:
- SocketSink(socket_t s = INVALID_SOCKET, unsigned int maxBufferSize=0, bool autoFlush=false)
- : NetworkSink(maxBufferSize, autoFlush), Socket(s), m_sender(*this) {}
+ SocketSink(socket_t s=INVALID_SOCKET, unsigned int maxBufferSize=0, unsigned int autoFlushBound=16*1024)
+ : NetworkSink(maxBufferSize, autoFlushBound), Socket(s), m_sender(*this) {}
void SendEof() {ShutDown(SD_SEND);}