Skip to content

Commit

Permalink
JSSE: skip setting ssl to null in Input/OutputStream.close() in case …
Browse files Browse the repository at this point in the history
…other thread is blocked in ssl.read/write() on select/poll()
  • Loading branch information
cconlon committed Nov 13, 2024
1 parent 99bd194 commit 79f9eff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/java/com/wolfssl/provider/jsse/WolfSSLSocket.java
Original file line number Diff line number Diff line change
Expand Up @@ -2478,7 +2478,6 @@ protected void close(boolean closeSocket) throws IOException {
}

this.socket = null;
this.ssl = null;
this.isClosed = true;

/* Reset "is closing" state to false, now closed */
Expand Down Expand Up @@ -2698,7 +2697,6 @@ protected void close(boolean closeSocket) throws IOException {
}

this.socket = null;
this.ssl = null;
this.isClosed = true;

/* Reset "is closing" state to false, now closed */
Expand Down

0 comments on commit 79f9eff

Please sign in to comment.