Rajesh Sharma created THRIFT-2356:
-------------------------------------

             Summary: c++ thrift client not working with ssl (SSL_connect hangs)
                 Key: THRIFT-2356
                 URL: https://issues.apache.org/jira/browse/THRIFT-2356
             Project: Thrift
          Issue Type: Bug
            Reporter: Rajesh Sharma


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



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to