You've already forked cpp-httplib
Fix #2005
This commit is contained in:
@@ -8908,6 +8908,7 @@ inline void ssl_delete(std::mutex &ctx_mutex, SSL *ssl, socket_t sock,
|
|||||||
// best-efforts.
|
// best-efforts.
|
||||||
if (shutdown_gracefully) {
|
if (shutdown_gracefully) {
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
(void)(sock);
|
||||||
SSL_shutdown(ssl);
|
SSL_shutdown(ssl);
|
||||||
#else
|
#else
|
||||||
timeval tv;
|
timeval tv;
|
||||||
|
Reference in New Issue
Block a user