summaryrefslogtreecommitdiffstats
path: root/src/Net/ClientConnection.cpp
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-06-26 00:45:12 +0200
committerMatthias Schiffer <matthias@gamezock.de>2008-06-26 00:45:12 +0200
commit27fe7a9e94704e7bd5420b0c3b59016943f0a333 (patch)
tree2565d419ec2c79f8d8b0860a3c11ab5b4824fa21 /src/Net/ClientConnection.cpp
parent0e38acdaff7ef753f1d4e140eec9dbaec6f7a047 (diff)
downloadmad-27fe7a9e94704e7bd5420b0c3b59016943f0a333.tar
mad-27fe7a9e94704e7bd5420b0c3b59016943f0a333.zip
Neue Listener-Klasse
Diffstat (limited to 'src/Net/ClientConnection.cpp')
-rw-r--r--src/Net/ClientConnection.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Net/ClientConnection.cpp b/src/Net/ClientConnection.cpp
index ca12f9f..7fdfd68 100644
--- a/src/Net/ClientConnection.cpp
+++ b/src/Net/ClientConnection.cpp
@@ -91,6 +91,7 @@ void ClientConnection::connect(const IPAddress &address, bool daemon0) throw(Con
gnutls_credentials_set(session, GNUTLS_CRD_ANON, anoncred);
+ gnutls_transport_set_lowat(session, 0);
gnutls_transport_set_ptr(session, reinterpret_cast<gnutls_transport_ptr_t>(sock));
handshake();