mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 06:26:02 -07:00
Fix #706
This commit is contained in:
parent
a4a9637738
commit
e155ba44bb
1 changed files with 3 additions and 0 deletions
|
@ -5856,9 +5856,12 @@ inline bool SSLServer::process_and_close_socket(socket_t sock) {
|
|||
});
|
||||
|
||||
detail::ssl_delete(ctx_mutex_, ssl, ret);
|
||||
detail::shutdown_socket(sock);
|
||||
detail::close_socket(sock);
|
||||
return ret;
|
||||
}
|
||||
|
||||
detail::shutdown_socket(sock);
|
||||
detail::close_socket(sock);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue