--- 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;