cweld510 commented on pull request #224:
URL: 
https://github.com/apache/httpcomponents-core/pull/224#issuecomment-699656803


   @ok2c 
   When the race condition occurs and the data producer signals output 
interest, there is some data in the `outEncrypted` buffer in `SSLIOSession`. 
It's the presence of this data that causes `dataStreamChannel.write(src)` to 
return 0 in the circumstance I described in my previous comment. After the IO 
Reactor thread calls `AbstractHttp1StreamDuplexer.onOutput`, it will flush the 
data from the SSLIOSession's buffer to the socket. So there is some available 
data at the time the data producer signals output readiness. It might not be 
what you are thinking about, though.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to