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

Golang does not report TIMED_OUT exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.1
    • 0.9.2
    • Go - Library
    • None
    • Patch Available

    Description

      If you set the timeout on a TSocket, thrift will convert the error into a TTransportException which never checks if the error is caused by a timeout so the TypeId will always be UNKNOWN_TRANSPORT_EXCEPTION.

      Attachments

        1. THRIFT-2337-golang-timeouts.patch
          3 kB
          Chris Bannister

        Activity

          People

            Unassigned Unassigned
            zariel Chris Bannister
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: