Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-2356

c++ thrift client not working with ssl (SSL_connect hangs)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.2
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            sharrajesh Rajesh Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: