RFR: 8274524: SSLSocket.close() hangs if it is called during the ssl handshake
Alexey Bakhtin
abakhtin at openjdk.java.net
Wed Sep 29 19:37:48 UTC 2021
Please review the patch for JDK-8274524
The fix just adds locks around InputStream read and skip operations to prevent concurrent read from socket.
sun/security/ssl jtreg tests passed
api/javax_net/ssl/SSLSocket/setUseClientMode jck test passed
-------------
Commit messages:
- 8274524: SSLSocket.close() hangs if it is called during the ssl handshake
Changes: https://git.openjdk.java.net/jdk/pull/5760/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5760&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8274524
Stats: 26 lines in 1 file changed: 17 ins; 0 del; 9 mod
Patch: https://git.openjdk.java.net/jdk/pull/5760.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5760/head:pull/5760
PR: https://git.openjdk.java.net/jdk/pull/5760
More information about the security-dev
mailing list