// enable compression now if requested - the initial handshake is uncompressed in the legacy protocol!
_useCompression = socket()->property("UseCompression").toBool();
if (_useCompression)
- qDebug() << "Using compression for peer:" << qPrintable(socket()->peerAddress().toString());
+ qDebug() << "Using compression for peer:" << qPrintable(address());
}
}
// FIXME only in compat mode
m["ProtocolVersion"] = protocolVersion;
- m["UseSsl"] = msg.sslSupported;
+ m["UseSsl"] = true;
#ifndef QT_NO_COMPRESS
m["UseCompression"] = true;
#else