X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fprotocols%2Flegacy%2Flegacypeer.cpp;h=eab7ea959f2d29e6b47e86220ed648aa55f1200d;hp=08f5b15c15de4cffd872c6fbc8582e2f16841cc7;hb=4c4aec75c42dc212b6725cf1cb42ab61fb09e8fd;hpb=121a7a9291abd0f49aab836a47c8afcae66da18e diff --git a/src/common/protocols/legacy/legacypeer.cpp b/src/common/protocols/legacy/legacypeer.cpp index 08f5b15c..eab7ea95 100644 --- a/src/common/protocols/legacy/legacypeer.cpp +++ b/src/common/protocols/legacy/legacypeer.cpp @@ -48,7 +48,6 @@ void LegacyPeer::setSignalProxy(::SignalProxy *proxy) RemotePeer::setSignalProxy(proxy); // FIXME only in compat mode - socket()->flush(); if (proxy) { // enable compression now if requested - the initial handshake is uncompressed in the legacy protocol! _useCompression = socket()->property("UseCompression").toBool(); @@ -302,7 +301,6 @@ void LegacyPeer::dispatch(const ClientRegistered &msg) { m["LoginEnabled"] = m["Configured"] = msg.coreConfigured; writeSocketData(m); - socket()->flush(); // ensure that the write cache is flushed before we switch to ssl }