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

Golang HTTP clients created with Nil buffer

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: Go - Library
    • Labels:
      None

      Description

      As of 2b1b32c, NewTHttpClientWithOptions creates a THttpClient instance with a nil requestBuffer. This causes a panic when the instance attempts to write to the buffer.

      A patch probably fits well with THRIFT-4215 and THRIFT-4216.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dcelasun Duru Can Celasun
                Reporter:
                jmrdi James Mouradian
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: