We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 876aeb6 commit 0bd1025Copy full SHA for 0bd1025
src/main/java/sun/security/ssl/SSLSocketImpl.java
@@ -1802,7 +1802,12 @@ void waitForClose(boolean rethrow) throws IOException {
1802
try {
1803
readRecord(inrec, true);
1804
} catch (SocketTimeoutException e) {
1805
- // if time out, ignore the exception and continue
+ if ((debug != null) && Debug.isOn("ssl")) {
1806
+ System.out.println(
1807
+ Thread.currentThread().getName() +
1808
+ ", received Exception: " + e);
1809
+ }
1810
+ fatal((byte)(-1), "Did not receive close_notify from peer", e);
1811
}
1812
1813
inrec = null;
0 commit comments