jetty.project/jetty-io
Simone Bordet 1e360244a5 Fixes #4209 - Unused TLS connection is not closed in Java 11.
Added workarounds for the Java 11 behavior.

In fill(), call closeInbound() if we filled -1 and the handshake
did not start yet. This avoids to send a ClientHello to the peer
even if we are closing.

In flush(), if the handshake status is NEED_UNWRAP but we are
closing, force a wrap().

Added test cases.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2019-10-16 13:10:40 +02:00
..
src Fixes #4209 - Unused TLS connection is not closed in Java 11. 2019-10-16 13:10:40 +02:00
pom.xml Updating to version 9.4.22-SNAPSHOT 2019-09-26 10:46:28 -05:00