This commit is contained in:
yhirose 2020-10-19 15:22:43 -04:00
parent a4a9637738
commit e155ba44bb

View File

@ -5856,9 +5856,12 @@ inline bool SSLServer::process_and_close_socket(socket_t sock) {
}); });
detail::ssl_delete(ctx_mutex_, ssl, ret); detail::ssl_delete(ctx_mutex_, ssl, ret);
detail::shutdown_socket(sock);
detail::close_socket(sock);
return ret; return ret;
} }
detail::shutdown_socket(sock);
detail::close_socket(sock); detail::close_socket(sock);
return false; return false;
} }