hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HTTPCORE-340) AbstractNIOConnPool to support lease timeout
Date Mon, 27 May 2013 15:50:21 GMT

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

Oleg Kalnichevski updated HTTPCORE-340:
---------------------------------------

    Component/s: HttpCore NIO
        Summary: AbstractNIOConnPool to support lease timeout  (was: As a developer I want
to specify leaseTimeout separately to connection timeout)

Almost there. Would not it be better though to support lease timeout on per request basis
similarly to connect timeout? All it takes an extra #lease method added to AbstractNIOConnPool.

Oleg
                
> AbstractNIOConnPool to support lease timeout
> --------------------------------------------
>
>                 Key: HTTPCORE-340
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-340
>             Project: HttpComponents HttpCore
>          Issue Type: New Feature
>          Components: HttpCore NIO
>    Affects Versions: 4.2.2, 4.3-beta2
>            Reporter: Ignat Alexeyenko
>            Priority: Critical
>             Fix For: 4.3-beta3
>
>         Attachments: JRADEV-21355-httpcore-nio-after-review_patch.patch, JRADEV-21355-httpcore-nio-refactored_patch.patch
>
>
> The component httpasyncclient (class PoolingClientAsyncConnectionManager) uses httpcompnents-core
(class AbstractNIOConnPool).
> In specific cases - such as remote server has slow response time (or just do not respond
anything for a while), there could be a scenario, when AbstractNIOConnPool deletes request
from leasingRequests which are not yet started.
> As a developer I want to have ability to specify leaseTimeout which would control how
long request would be kept in leasingRequests unit it would be deleted.

--
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