mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-13 08:29:32 -05:00
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:
parent
bb7645549f
commit
ef7a2aaa59
@ -428,6 +428,8 @@ int pqissllistenbase::continueSSL(IncomingSSLInfo& incoming_connexion_info, bool
|
|||||||
std::string out = "pqissllistenbase::continueSSL() Connection failed!\n";
|
std::string out = "pqissllistenbase::continueSSL() Connection failed!\n";
|
||||||
pqioutput(PQL_DEBUG_BASIC, pqissllistenzone, out);
|
pqioutput(PQL_DEBUG_BASIC, pqissllistenzone, out);
|
||||||
|
|
||||||
|
closeConnection(fd, incoming_connexion_info.ssl);
|
||||||
|
|
||||||
// basic-error while connecting, no security message needed
|
// basic-error while connecting, no security message needed
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user