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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.2
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: