hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry (JIRA)" <j...@apache.org>
Subject [jira] Created: (HTTPCORE-236) Failed to receive last chunk of the large https response through httpcore-nio
Date Sun, 26 Sep 2010 08:53:35 GMT
Failed to receive last chunk of the large https response through httpcore-nio 
------------------------------------------------------------------------------

                 Key: HTTPCORE-236
                 URL: https://issues.apache.org/jira/browse/HTTPCORE-236
             Project: HttpComponents HttpCore
          Issue Type: Bug
          Components: HttpCore NIO
    Affects Versions: 4.1-beta2
         Environment: java 1.6_06 windows xp, linux redhat.
            Reporter: Dmitry
            Priority: Critical


I'm a wso2 esb (synapse) user/developer.
I got a problem with https nio transport.
I tried versions 4.1 alpha1 and 4.1 beta2.
 
The problem: 
transport failed to receive large (50k) response through nio https.
The connection is keep-alive and chunked. Every time I received only response divisible 
by 8192 and last chunk is never returned.
 
After digging the logs and code I found that last chunk not returned because 
of the code in this class org.apache.http.impl.nio.reactor.SSLIOSession.java
 
I changed one line in the code and now it's working.
Now I want to ask somebody who knows the code if this change is ok,
and maybe it should be applied to httpcore (see attached file)




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message