mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 09:18:27 +00:00
Fix #2005
This commit is contained in:
parent
e6d71bd702
commit
b85768c1f3
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue