# HG changeset patch # User xuelei # Date 1526599127 25200 # Node ID 9dfdc35eb2706bbb977603b5fd1b3d63f565b176 # Parent 60ff67126765791eb06db39420add628a2e97c61 TLS 1.3, update on SSLSocketImpl.checkEOF() diff -r 60ff67126765 -r 9dfdc35eb270 src/java.base/share/classes/sun/security/ssl/SSLSocketImpl.java --- a/src/java.base/share/classes/sun/security/ssl/SSLSocketImpl.java Thu May 17 11:12:52 2018 -0700 +++ b/src/java.base/share/classes/sun/security/ssl/SSLSocketImpl.java Thu May 17 16:18:47 2018 -0700 @@ -1018,7 +1018,8 @@ */ synchronized boolean checkEOF() throws IOException { if (conContext.isClosed()) { - throw new SocketException("Socket is closed"); + // throw new SocketException("Socket is closed"); + return true; } else if (conContext.isInputCloseNotified || conContext.isBroken) { if (conContext.closeReason == null) { return true;