Skip to content

Commit 41920b2

Browse files
committed
Fix #2006
1 parent e6d71bd commit 41920b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

httplib.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8908,6 +8908,7 @@ inline void ssl_delete(std::mutex &ctx_mutex, SSL *ssl, socket_t sock,
89088908
// best-efforts.
89098909
if (shutdown_gracefully) {
89108910
#ifdef _WIN32
8911+
(void)(sock);
89118912
SSL_shutdown(ssl);
89128913
#else
89138914
timeval tv;

0 commit comments

Comments
 (0)