[
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?
Oleg
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]