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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to