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

Oleg Kalnichevski commented on HTTPASYNC-15:
--------------------------------------------

Hi William

I believe I have fixed the problem in SVN trunk. Could you please try out the 
latest SVN snapshot and let me know if the problem still persists?

Oleg
                
> Async Client Hangs on Closed Conection
> --------------------------------------
>
>                 Key: HTTPASYNC-15
>                 URL: https://issues.apache.org/jira/browse/HTTPASYNC-15
>             Project: HttpComponents HttpAsyncClient
>          Issue Type: Bug
>    Affects Versions: 4.0-beta1
>            Reporter: William R. Speirs
>         Attachments: HTTPASYNC-15.diff, Main.java
>
>
> When using the Async Client if you connect to a server which immediately 
> closes the connection, the client never calls any of the callbacks. I believe 
> that this is because response is never checked for null in 
> DefaultNHttpClientConnection.consumeInput().
> I will attached a basic reproducer which waits on a latch because none of the 
> callbacks are triggered. I've also submitted a patch for this issue, but I'm 
> not entirely sure what should be done in this case. The patch simply throws 
> an HttpException, but I'm not sure if this is the right thing to do.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to