JSSE: skip setting socket to null in Input/OutputStream.close(), so read/write() can detect closure

pull/233/head
Chris Conlon 2024-11-19 10:03:35 -07:00
parent 32ac8ac11c
commit 11f6f4b5cd
1 changed files with 0 additions and 2 deletions

View File

@ -2442,7 +2442,6 @@ public class WolfSSLSocket extends SSLSocket {
}
}
this.socket = null;
this.isClosed = true;
/* Reset "is closing" state to false, now closed */
@ -2661,7 +2660,6 @@ public class WolfSSLSocket extends SSLSocket {
}
}
this.socket = null;
this.isClosed = true;
/* Reset "is closing" state to false, now closed */