Skip to content

Commit

Permalink
Fix #2005
Browse files Browse the repository at this point in the history
  • Loading branch information
yhirose committed Dec 16, 2024
1 parent e6d71bd commit b85768c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions httplib.h
Original file line number Diff line number Diff line change
Expand Up @@ -8908,6 +8908,7 @@ inline void ssl_delete(std::mutex &ctx_mutex, SSL *ssl, socket_t sock,
// best-efforts.
if (shutdown_gracefully) {
#ifdef _WIN32
(void)(sock);
SSL_shutdown(ssl);
#else
timeval tv;
Expand Down

0 comments on commit b85768c

Please sign in to comment.