+ if (!clientFeatures.unknownFeatures().isEmpty()) {
+ qInfo() << qPrintable(tr("Client supports unknown features: %1").arg(clientFeatures.unknownFeatures().join(", ")));
+ }
+
+ disconnect(socket(), nullptr, this, nullptr);
+ disconnect(_peer, nullptr, this, nullptr);
+ _peer->setParent(nullptr); // Core needs to take care of this one now!
+
+ socket()->flush(); // Make sure all data is sent before handing over the peer (and socket) to the session thread (bug 682)