You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Justin Larrabee (JIRA)" <ji...@apache.org> on 2015/11/18 19:21:10 UTC

[jira] [Created] (THRIFT-3430) Go THttpClient does not read HTTP response body to completion when closing

Justin Larrabee created THRIFT-3430:
---------------------------------------

             Summary: Go THttpClient does not read HTTP response body to completion when closing
                 Key: THRIFT-3430
                 URL: https://issues.apache.org/jira/browse/THRIFT-3430
             Project: Thrift
          Issue Type: Bug
          Components: Go - Library
            Reporter: Justin Larrabee


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)