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();
m["LoginEnabled"] = m["Configured"] = msg.coreConfigured;
writeSocketData(m);
- socket()->flush(); // ensure that the write cache is flushed before we switch to ssl
}