Skip to content

Commit 416029c

Browse files
authored
Merge pull request #330 from rlm2002/checkAndInitCatch
removed checkAndInitSSLSocket from close()
2 parents 6867aba + 58ea3f8 commit 416029c

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/java/com/wolfssl/provider/jsse/WolfSSLSocket.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2046,8 +2046,6 @@ public synchronized void close() throws IOException {
20462046
try {
20472047
if (beforeObjectInit == false) {
20482048

2049-
checkAndInitSSLSocket();
2050-
20512049
/* Check if underlying Socket is still open before closing,
20522050
* in case application calls SSLSocket.close() multiple times */
20532051
WolfSSLDebug.log(getClass(), WolfSSLDebug.INFO,

0 commit comments

Comments
 (0)