mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-21 11:39:48 +00:00
Fix #2005
This commit is contained in:
1 parent
e6d71bd702
commit
b85768c1f3
1 file changed
+1
@@ -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