mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-10 01:33:53 +00:00
Fix #706
This commit is contained in:
parent
a4a9637738
commit
e155ba44bb
@ -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…
x
Reference in New Issue
Block a user