[12] RFR: 8211787: javax/net/ssl/TLSCommon/TLSTest.java throws java.net.SocketTimeoutException: Read timed out

Sibabrata Sahoo sibabrata.sahoo at oracle.com
Wed Nov 14 10:21:02 UTC 2018


Hi Xuelei,

 

Please review a minor fix for,

JBS: https://bugs.openjdk.java.net/browse/JDK-8211787

Webrev: http://cr.openjdk.java.net/~ssahoo/8211787/webrev.00/

 

The original intention to "setSoTimeout()" is on serverSocket where the server will fail with timeout if it exceed certain amount of time before accepting a client connection. But by mistake it was set on wrong socket object which is created from accept() and causing a timeout if the InputStream exceed certain amount of time. I have corrected to setSoTimeout() to be set through serverSocket only.

 

Thanks,

Siba
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/security-dev/attachments/20181114/3fa2e0bb/attachment.html>


More information about the security-dev mailing list