RFR: 8274736: Concurrent read/close of SSLSockets causes SSLSessions to be invalidated unnecessarily [v2]
Jamil Nimeh
jnimeh at openjdk.java.net
Mon Nov 1 22:57:46 UTC 2021
> 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
Jamil Nimeh has updated the pull request incrementally with one additional commit since the last revision:
Add separate tests that isolate TLS 1.3 an 1.2 handshakes
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/6197/files
- new: https://git.openjdk.java.net/jdk/pull/6197/files/dc54c60e..8d7af4b1
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6197&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6197&range=00-01
Stats: 10 lines in 1 file changed: 9 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/6197.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/6197/head:pull/6197
PR: https://git.openjdk.java.net/jdk/pull/6197
More information about the security-dev
mailing list