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 (Commented) (JIRA)" <ji...@apache.org> on 2011/11/22 13:30:40 UTC

[jira] [Commented] (HTTPCORE-282) DefaultNHttpClientConnection fails to read the HTTP response when interest op queueing is enabled

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

Oleg Kalnichevski commented on HTTPCORE-282:
--------------------------------------------

It turned out that the root problem was not a regression but a genuine bug in the IOSessionImpl class. The default value of the internal event mask of newly created non-blocking I/O was not correctly initialized, which caused the READ interest bit to get cleared in the interest op queuing mode unless the event mask is explicitly reset. 

Fixed in SVN trunk and 4.1.x branch.

Oleg

                
> DefaultNHttpClientConnection fails to read the HTTP response when interest op queueing is enabled
> -------------------------------------------------------------------------------------------------
>
>                 Key: HTTPCORE-282
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-282
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>          Components: HttpCore NIO
>    Affects Versions: 4.1.3
>         Environment: This is observed on both Sun JDK 1.6 & JRE 1.6.0 IBM J9
>            Reporter: Sadeep Jayasumana
>            Priority: Critical
>             Fix For: 4.1.4, 4.2-alpha3
>
>         Attachments: HTTPCORE-282.patch
>
>
> This was observed on WSO2 ESB which is based on Apache Synapse. ESB failed to read the response sent by a backend service when interest op queuing is enabled.

--
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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org