Code Review Request, JDK-8214418 HttpClient falls in running with 100% cpu usage after an error signalled on channel

Xue-Lei Fan at
Tue Jan 8 23:00:15 UTC 2019

ping ...


On 12/22/2018 9:20 AM, Xue-Lei Fan wrote:
> Hi,
> Could I get the update reviewed?
> The reproducing testing case passed with the update.
> The issue is caused by the handshake status "NEED_WRAP" while the 
> connection is half-closed. An application may just call wrap() when the 
> handshake status is "NEED_WRAP". For compatibility, I changed the 
> handshake status from NEED_WRAP back to NOT_HANDSHAKING for inbound 
> half-closed connection.  An application can use 
> SSLEngine.isOutboundDone() for the determination if SSLEngine.wrap() 
> should be called.
> Thanks,
> Xuelei

More information about the security-dev mailing list