[
https://issues.apache.org/jira/browse/THRIFT-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13897517#comment-13897517
]
Rajesh Sharma commented on THRIFT-2356:
---------------------------------------
My patch can be found here.
https://github.com/sharrajesh/thrift/commit/a3de09c52139980aea2d82c89810dd467b3c5a71
> 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)