RFR: 8274736: Concurrent read/close of SSLSockets causes SSLSessions to be invalidated unnecessarily
Xue-Lei Andrew Fan
xuelei at openjdk.java.net
Mon Nov 1 19:47:13 UTC 2021
On Mon, 1 Nov 2021 18:28:54 GMT, Jamil Nimeh <jnimeh at 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
Marked as reviewed by xuelei (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/6197
More information about the security-dev
mailing list