From 7cd66371e6e0943ff87699b72adfe617ad92d99d Mon Sep 17 00:00:00 2001 From: yhirose Date: Wed, 19 Feb 2025 18:12:08 -0500 Subject: [PATCH] Adjust threshold --- test/test.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/test.cc b/test/test.cc index 4eb17a9..a154441 100644 --- a/test/test.cc +++ b/test/test.cc @@ -8341,8 +8341,7 @@ TEST(MaxTimeoutTest, ContentStream) { #ifdef CPPHTTPLIB_OPENSSL_SUPPORT TEST(MaxTimeoutTest, ContentStreamSSL) { time_t timeout = 2000; - time_t threshold = 200; // TODO: This value should be adjusted due to the - // slowness of SSL_shutdown on some operating systems. + time_t threshold = 500; // SSL_shutdown is slow on some operating systems. SSLServer svr(SERVER_CERT_FILE, SERVER_PRIVATE_KEY_FILE);