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

Go THttpClient does not read HTTP response body to completion when closing

    XMLWordPrintableJSON

    Details

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

      Description

      In THttpClient.closeResponse the body of the HTTP response is closed but the body itself is never explicitly read to completion. The go docs specify that if the response body is not read to completion and keepalive is enabled, the connection will never be returned to the pool.

        Attachments

          Activity

            People

            • Assignee:
              justinlarrabee Justin Larrabee
              Reporter:
              justinlarrabee Justin Larrabee
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: