1
0
mirror of synced 2025-04-20 11:47:43 +03:00
This commit is contained in:
yhirose 2024-12-16 17:03:45 -05:00
parent e6d71bd702
commit b85768c1f3

View File

@ -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;