hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCORE-282) DefaultNHttpClientConnection fails to read the HTTP response when interest op queueing is enabled
Date Tue, 22 Nov 2011 12:30:40 GMT

    [ 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


Mime
View raw message