From 3e3a8cc02f2bbd92e47b2f8a4fc8fcada112202b Mon Sep 17 00:00:00 2001 From: yhirose Date: Sat, 5 Apr 2025 22:38:50 -0400 Subject: [PATCH] Made the max timeout threshold for SSL longer. --- test/test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.cc b/test/test.cc index 7100ebc..4fd9983 100644 --- a/test/test.cc +++ b/test/test.cc @@ -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);