On Mon, 1 Nov 2021 18:28:54 GMT, Jamil Nimeh <jni...@openjdk.org> wrote:
> This fix handles cases where two or more threads may be acting on a single > SSLSocket instance. In cases where one thread closes the socket while the > other is in the middle of a read, a SocketException is appropriately thrown, > but it results in SSLSession invalidation even though the session was > legitimately negotiated at an earlier point in time and should remain in the > cache. > > JBS: https://bugs.openjdk.java.net/browse/JDK-8274736 This pull request has now been integrated. Changeset: 8822d41f Author: Jamil Nimeh <jni...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/8822d41fdcc2c2d568badd72635dc587d21dbd63 Stats: 429 lines in 3 files changed: 425 ins; 0 del; 4 mod 8274736: Concurrent read/close of SSLSockets causes SSLSessions to be invalidated unnecessarily Reviewed-by: xuelei, wetmore ------------- PR: https://git.openjdk.java.net/jdk/pull/6197