RFR: 8228442: DHKeyExchange/LegacyDHEKeyExchange.java failed due to "SSLException: An established connection was aborted by the software in your host machine"

Xue-Lei Andrew Fan xuelei at openjdk.java.net
Thu Apr 22 15:37:25 UTC 2021


On Thu, 22 Apr 2021 11:41:40 GMT, Fernando Guallini <fguallini at openjdk.org> wrote:

> Test DHKeyExchange/LegacyDHEKeyExchange.java has been seen to fail intermittently. There is a thread synchronisation issue that is fixed by:
> 
> - Using SSLSocketTemplate that handles client/server socket configuration and synchronisation before connection
> - Making use of a CountDownLatch and socket linger to facilitate the socket to close gracefully after both ends have finished the transmission

It looks good to me.  Thank you!

-------------

Marked as reviewed by xuelei (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/3622



More information about the security-dev mailing list