Undo add pending connection

This commit is contained in:
Simon Stürz 2021-08-09 16:28:35 +02:00
parent ad78a13303
commit df42273ed1

View File

@ -232,7 +232,6 @@ void SslServer::incomingConnection(qintptr socketDescriptor)
} }
if (m_sslEnabled) { if (m_sslEnabled) {
qCDebug(dcTcpServer()) << "Starting SSL encryption"; qCDebug(dcTcpServer()) << "Starting SSL encryption";
addPendingConnection(sslSocket);
sslSocket->setSslConfiguration(m_config); sslSocket->setSslConfiguration(m_config);
sslSocket->startServerEncryption(); sslSocket->startServerEncryption();
} else { } else {