summaryrefslogtreecommitdiff
path: root/socketft.h
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2003-06-19 17:09:07 +0000
committerweidai <weidai11@users.noreply.github.com>2003-06-19 17:09:07 +0000
commit376fe5b4ae1607f4158e16bc4ace6e5b5b01154e (patch)
tree7e300cb2827b1bf3cc05695e5e89b5ef58b1be93 /socketft.h
parent5b25f4b45fb67c48df4dd576f3271fe00e30796b (diff)
downloadcryptopp-git-376fe5b4ae1607f4158e16bc4ace6e5b5b01154e.tar.gz
sync with private branch
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 e8baef0f..96f54124 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);}