RFR: 8290083: ResponseBodyBeforeError: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
Daniel Fuchs
dfuchs at openjdk.org
Mon Jul 11 14:45:59 UTC 2022
Please find enclosed a simple test fix.
This test has been observed failing once with an SSLException. My suspicion is that some random process (other test or ...) has tried to connect to the test ReplyingServer and sent some plain text that failed the handshake.
The fix hardens the server to close the connection and proceed to accept the next one, for a limited number of times...
-------------
Commit messages:
- 8290083
Changes: https://git.openjdk.org/jdk/pull/9454/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9454&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8290083
Stats: 22 lines in 1 file changed: 15 ins; 0 del; 7 mod
Patch: https://git.openjdk.org/jdk/pull/9454.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/9454/head:pull/9454
PR: https://git.openjdk.org/jdk/pull/9454
More information about the net-dev
mailing list