You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2014/06/07 11:42:02 UTC

[jira] [Comment Edited] (HTTPASYNC-36) SocketTimeoutException can result in failed() being called multiple times

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

Oleg Kalnichevski edited comment on HTTPASYNC-36 at 6/7/14 9:40 AM:
--------------------------------------------------------------------

I have invested a considerable amount of time and effort trying to reproduce the problem to no avail. If you are able to reliably reproduce it please create a context / wire log of the session, raise a new Jira, and attach the log to it.

Oleg


was (Author: olegk):
I have invested a considerable amount of time and effort trying to reproduce the issue to no avail. If you are able to reproduce the problem please create a context / wire log of the session, raise a new Ji

> SocketTimeoutException can result in failed() being called multiple times
> -------------------------------------------------------------------------
>
>                 Key: HTTPASYNC-36
>                 URL: https://issues.apache.org/jira/browse/HTTPASYNC-36
>             Project: HttpComponents HttpAsyncClient
>          Issue Type: Bug
>    Affects Versions: 4.0-beta3
>            Reporter: Clinton Nielsen
>
> Appears to be a race condition, so I am having trouble duplicating, but we have observed the failed callback method being called twice for a single request that timed out.
> Following stack trace was logged twice for a single request:
> HttpAsyncRequestExecutor.java:279:org.apache.http.nio.protocol.HttpAsyncRequestExecutor:timeout
> LoggingAsyncRequestExecutor.java:128:org.apache.http.impl.nio.client.LoggingAsyncRequestExecutor:timeout
> DefaultHttpClientIODispatch.java:136:org.apache.http.impl.nio.DefaultHttpClientIODispatch:onTimeout
> DefaultHttpClientIODispatch.java:50:org.apache.http.impl.nio.DefaultHttpClientIODispatch:onTimeout
> AbstractIODispatch.java:169:org.apache.http.impl.nio.reactor.AbstractIODispatch:timeout
> BaseIOReactor.java:257:org.apache.http.impl.nio.reactor.BaseIOReactor:sessionTimedOut
> AbstractIOReactor.java:494:org.apache.http.impl.nio.reactor.AbstractIOReactor:timeoutCheck
> BaseIOReactor.java:207:org.apache.http.impl.nio.reactor.BaseIOReactor:validate
> AbstractIOReactor.java:284:org.apache.http.impl.nio.reactor.AbstractIOReactor:execute
> BaseIOReactor.java:106:org.apache.http.impl.nio.reactor.BaseIOReactor:execute
> AbstractMultiworkerIOReactor.java:604:org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker:run
> Thread.java:636:java.lang.Thread:run | class java.net.SocketTimeoutException



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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