diff --git a/libretroshare/src/pqi/pqissllistener.cc b/libretroshare/src/pqi/pqissllistener.cc index 4e00d84c7..13d6108ed 100644 --- a/libretroshare/src/pqi/pqissllistener.cc +++ b/libretroshare/src/pqi/pqissllistener.cc @@ -428,6 +428,8 @@ int pqissllistenbase::continueSSL(IncomingSSLInfo& incoming_connexion_info, bool std::string out = "pqissllistenbase::continueSSL() Connection failed!\n"; pqioutput(PQL_DEBUG_BASIC, pqissllistenzone, out); + closeConnection(fd, incoming_connexion_info.ssl); + // basic-error while connecting, no security message needed return -1; }