1
0
mirror of synced 2025-04-19 00:24:02 +03:00

Made the max timeout threshold for SSL longer.

This commit is contained in:
yhirose 2025-04-05 22:38:50 -04:00
parent b7e33b08f1
commit 3e3a8cc02f

View File

@ -8623,7 +8623,7 @@ TEST(MaxTimeoutTest, ContentStream) {
#ifdef CPPHTTPLIB_OPENSSL_SUPPORT
TEST(MaxTimeoutTest, ContentStreamSSL) {
time_t timeout = 2000;
time_t threshold = 500; // SSL_shutdown is slow on some operating systems.
time_t threshold = 1200; // SSL_shutdown is slow on some operating systems.
SSLServer svr(SERVER_CERT_FILE, SERVER_PRIVATE_KEY_FILE);