JSSE: skip setting socket to null in Input/OutputStream.close(), so read/write() can detect closure
parent
32ac8ac11c
commit
11f6f4b5cd
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue