You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by "Aaron Evans (JIRA)" <ji...@apache.org> on 2008/11/18 02:32:46 UTC

[jira] Closed: (ABDERA-197) AbderaClient only releases HTTPClient connections if an input stream is read

     [ https://issues.apache.org/jira/browse/ABDERA-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron Evans closed ABDERA-197.
------------------------------

    Resolution: Invalid

> AbderaClient only releases HTTPClient connections if an input stream is read
> ----------------------------------------------------------------------------
>
>                 Key: ABDERA-197
>                 URL: https://issues.apache.org/jira/browse/ABDERA-197
>             Project: Abdera
>          Issue Type: Bug
>    Affects Versions: 0.4.0
>            Reporter: Aaron Evans
>         Attachments: TestAbderaClient.java
>
>
> AbderaClient uses an AutoReleasingInputStream which is responsible for calling releaseConnection on the underlying HTTPClient method.  If a user of the AbderaClient does not read the input stream in a response, then the connection leaks.  I'm attaching a test case with two tests: one that never completes because the input stream is not read and another that  completes.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.