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] [Resolved] (HTTPCORE-370) Race condition if connection request succeeds and times out at the same time
Date Fri, 31 Jan 2014 16:00:29 GMT

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

Oleg Kalnichevski resolved HTTPCORE-370.
----------------------------------------

    Resolution: Fixed

Marking as resolved. Please re-open if you get any new findings.

Oleg

> Race condition if connection request succeeds and times out at the same time
> ----------------------------------------------------------------------------
>
>                 Key: HTTPCORE-370
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-370
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>          Components: HttpCore NIO
>    Affects Versions: 4.3.1
>            Reporter: jaikit savla
>             Fix For: 4.3.2
>
>
> 2014-01-11 01:09:07,225 ERROR [pool-3-thread-1] org.apache.http.impl.nio.client.InternalHttpAsyncClient
 - I/O reactor terminated abnormally
> org.apache.http.nio.reactor.IOReactorException: I/O dispatch worker terminated abnormally
>         at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:356)
>         at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:189)
>         at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase.doExecute(CloseableHttpAsyncClientBase.java:67)
>         at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase.access$000(CloseableHttpAsyncClientBase.java:38)
>         at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:57)
>         at java.lang.Thread.run(Thread.java:724)
> Caused by: java.lang.IllegalStateException: Connection must be created by connection
manager
>         at org.apache.http.impl.nio.client.InternalIODispatch.createConnection(InternalIODispatch.java:48)
>         at org.apache.http.impl.nio.client.InternalIODispatch.createConnection(InternalIODispatch.java:37)
>         at org.apache.http.impl.nio.reactor.AbstractIODispatch.connected(AbstractIODispatch.java:71)
>         at org.apache.http.impl.nio.reactor.BaseIOReactor.sessionCreated(BaseIOReactor.java:240)
>         at org.apache.http.impl.nio.reactor.AbstractIOReactor.processNewChannels(AbstractIOReactor.java:426)
>         at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:288)
>         at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:105)
>         at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:584)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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


Mime
View raw message