[
https://issues.apache.org/jira/browse/THRIFT-3277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14646790#comment-14646790
]
ASF GitHub Bot commented on THRIFT-3277:
----------------------------------------
GitHub user prashantv opened a pull request:
https://github.com/apache/thrift/pull/571
Close previous response body on flush. (THRIFT-3277)
Connections were being leaked as Flush created new responses without
closing the previous response body.
See THRIFT-3277 for more information.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/prashantv/thrift go-multi-req
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/thrift/pull/571.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #571
----
commit 1b1ec267bf1dad3c37e654964f34d4409432d15b
Author: Prashant Varanasi <[email protected]>
Date: 2015-07-29T21:25:19Z
Close previous response body on flush.
Connections were being leaked as Flush created new responses
without closing the previous response body.
----
> go: THttpClient leaks connections if it's used for multiple requests
> --------------------------------------------------------------------
>
> Key: THRIFT-3277
> URL: https://issues.apache.org/jira/browse/THRIFT-3277
> Project: Thrift
> Issue Type: Bug
> Components: Go - Library
> Affects Versions: 0.9.2
> Reporter: Prashant V
> Priority: Minor
>
> When a second request is made, the first request body is not closed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)