Added missing closeConnection when the connection dies with SSL_ERROR_SYSCALL.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5980 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-12-13 22:54:17 +00:00
parent bb7645549f
commit ef7a2aaa59

View File

@ -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;
}