RFR: 8164804: sun/security/ssl/SSLSocketImpl/CloseSocket.java makes not reliable time assumption [v2]
Julia Boes
jboes at openjdk.java.net
Mon May 10 11:04:04 UTC 2021
On Wed, 5 May 2021 10:08:15 GMT, Fernando Guallini <fguallini at openjdk.org> wrote:
>> test sun/security/ssl/SSLSocketImpl/CloseSocket.java verifies the behavior when a server closes the socket connection during a handshake. The server was waiting a fixed 100ms before closing it, but there was no guarantee that the client started the handshake before or during that time frame
>>
>> With this changeset, the server is checking whether the client thread has initiated handshake, and retrying if needed after waiting a short time. In addition, the test is now reusing SSLSocketTemplate to simplify sockets configuration and client/server synchronization
>
> Fernando Guallini has updated the pull request incrementally with one additional commit since the last revision:
>
> var volatile
@fguallini I'm happy to sponsor this change once it's been reviewed by someone from security.
-------------
PR: https://git.openjdk.java.net/jdk/pull/3856
More information about the security-dev
mailing list