Skip to content

Commit e155ba4

Browse files
committed
Fix #706
1 parent a4a9637 commit e155ba4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

httplib.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5856,9 +5856,12 @@ inline bool SSLServer::process_and_close_socket(socket_t sock) {
58565856
});
58575857

58585858
detail::ssl_delete(ctx_mutex_, ssl, ret);
5859+
detail::shutdown_socket(sock);
5860+
detail::close_socket(sock);
58595861
return ret;
58605862
}
58615863

5864+
detail::shutdown_socket(sock);
58625865
detail::close_socket(sock);
58635866
return false;
58645867
}

0 commit comments

Comments
 (0)