You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Ignat Alexeyenko (JIRA)" <ji...@apache.org> on 2013/05/28 11:16:21 UTC

[jira] [Comment Edited] (HTTPCORE-340) AbstractNIOConnPool to support lease timeout

    [ https://issues.apache.org/jira/browse/HTTPCORE-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13667834#comment-13667834 ] 

Ignat Alexeyenko edited comment on HTTPCORE-340 at 5/28/13 9:14 AM:
--------------------------------------------------------------------

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

--
Thanks,
Ignat
                
      was (Author: ignatalexeyenko):
    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