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] Commented: (HTTPCORE-52) timeout handling in BufferingHttpClientHandler is insufficient
Date Sun, 04 Mar 2007 15:41:50 GMT

    [ https://issues.apache.org/jira/browse/HTTPCORE-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12477789

Oleg Kalnichevski commented on HTTPCORE-52:

Hi Anders,

I believe the HttpClientHandler is the right place to deal with socket timeouts. This kind
of logic does not really belong to HttpRequestExecutionHandler, as it has nothing to do with
the request execution.

What kind of special use case do you have and what kind of API changes do you envisage? 


> timeout handling in BufferingHttpClientHandler is insufficient
> --------------------------------------------------------------
>                 Key: HTTPCORE-52
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-52
>             Project: HttpComponents Core
>          Issue Type: Bug
>          Components: HttpCore NIO
>            Reporter: Anders Wallgren
> There doesn't seem to be a way to deal with a socket timeout when using BufferingHttpClientHandler.
> I can register an EventListener, but that doesn't give me access to the HttpContext.
> As far as I can tell, I need to override BufferingHttpClientHandler.timeout.  Wouldn't
it be better to have a callback of some type on HttpRequestExecutionHandler?

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

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

View raw message