Skip to content

Commit

Permalink
Fix #706
Browse files Browse the repository at this point in the history
  • Loading branch information
yhirose committed Oct 19, 2020
1 parent a4a9637 commit e155ba4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions httplib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e155ba4

Please sign in to comment.