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

Oleg Kalnichevski commented on HTTPCORE-404:
--------------------------------------------

It is important. HTTP request pipelining was added in the last feature release 
and may still be not 100% stable (or test cases may be flawed). I'll see if I 
can come up with a fix.

There is an ongoing vote on release 4.4.2. If you are working on OSGi test 
cases for HttpCore would you like me to call it off?

Oleg 

> Build fails with Java 1.8; unit test throws
> -------------------------------------------
>
>                 Key: HTTPCORE-404
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-404
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>          Components: HttpCore NIO
>            Reporter: Benson Margulies
>
>  I am on the 4.4.x branch, and got:
> {noformat}
> testHttpHeads[http](org.apache.http.nio.integration.TestHttpAsyncHandlersPipelining)
>   Time elapsed: 5.034 sec  <<< ERROR!
> java.util.concurrent.ExecutionException: java.net.SocketTimeoutException
>       at org.apache.http.concurrent.BasicFuture.getResult(BasicFuture.java:70)
>       at org.apache.http.concurrent.BasicFuture.get(BasicFuture.java:80)
>       at 
> org.apache.http.nio.integration.TestHttpAsyncHandlersPipelining.testHttpHeads(TestHttpAsyncHandlersPipelining.java:202)
> Caused by: java.net.SocketTimeoutException: null
>       at 
> org.apache.http.nio.protocol.HttpAsyncRequestExecutor.timeout(HttpAsyncRequestExecutor.java:354)
>       at 
> org.apache.http.impl.nio.DefaultHttpClientIODispatch.onTimeout(DefaultHttpClientIODispatch.java:176)
>       at 
> org.apache.http.impl.nio.DefaultHttpClientIODispatch.onTimeout(DefaultHttpClientIODispatch.java:51)
>       at 
> org.apache.http.impl.nio.reactor.AbstractIODispatch.timeout(AbstractIODispatch.java:177)
>       at 
> org.apache.http.impl.nio.reactor.BaseIOReactor.sessionTimedOut(BaseIOReactor.java:265)
>       at 
> org.apache.http.impl.nio.reactor.AbstractIOReactor.timeoutCheck(AbstractIOReactor.java:494)
>       at 
> org.apache.http.impl.nio.reactor.BaseIOReactor.validate(BaseIOReactor.java:215)
>       at 
> org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:282)
>       at 
> org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
>       at 
> org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:590)
>       at java.lang.Thread.run(Thread.java:745)
> {noformat}
> It's fine building with 1.7.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to