Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
0.19.0
-
None
Description
When the Thrift OpenSSL server gets a file descriptor of 0 (which is valid), the server stops working and cannot accept new connections because of the following code in TSSLSocket.cpp:
if (BIO_get_fd(bio, &fdSocket) <= 0) { throw TSSLException("BIO_get_fd failed"); }
The fix would be to just change the comparison from <= to <
Attachments
Issue Links
- links to