hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HTTPASYNC-28) PoolEntry's expiry information is never updated
Date Wed, 26 Sep 2012 21:07:07 GMT

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

Daniel Kulp updated HTTPASYNC-28:
---------------------------------

    Attachment: patch.txt


Move the detach to after all the checks that need it.
                
> PoolEntry's expiry information is never updated
> -----------------------------------------------
>
>                 Key: HTTPASYNC-28
>                 URL: https://issues.apache.org/jira/browse/HTTPASYNC-28
>             Project: HttpComponents HttpAsyncClient
>          Issue Type: Bug
>            Reporter: Daniel Kulp
>         Attachments: patch.txt
>
>
> The PoolingClientAsyncConnectionManager.releaseConnection method calls managedConn.detach()
which detaches the entry.  However, it then calls "isOpen" on it which requires it to be attached
in order to determine if it's open or not.   With it not open, the expiry values are never
updated.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message