Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Patch Available
Description
I think it's a bug to declare createSocket with parameters "int socket" while the base class
TServerSocket declares the virtual function createSocket with parameters "THRIFT_SOCKET socket"
On windows THRIFT_SOCKET resolves to UINT_PTR hence TSSLServerSocket::createSocket function
did not get called from the guts.
Hence a nasty hanging problem was happening for me while testing ssl feature using official test_server/test_client.
I also posted my question at
http://stackoverflow.com/questions/21213094/c-thrift-client-not-working-with-ssl-ssl-connect-hangs