hc-dev mailing list archives

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

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

Ignat Alexeyenko updated HTTPCORE-340:
--------------------------------------

    Attachment: JRADEV-21355-httpcore-nio-after-review-2-leaseTimeout-in-argument.patch

I've just re-factored. Now by default lease method would add LeaseRequest with leaseTimeout
= connectionTimeout (as it did before the patch).

Another lease() method is created to support the leaseTimeout agrument.

--
Thanks,
Ignat
                
> 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-2-leaseTimeout-in-argument.patch,
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