Skip to content

Commit 3e3a8cc

Browse files
committed
Made the max timeout threshold for SSL longer.
1 parent b7e33b0 commit 3e3a8cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -8623,7 +8623,7 @@ TEST(MaxTimeoutTest, ContentStream) {
86238623
#ifdef CPPHTTPLIB_OPENSSL_SUPPORT
86248624
TEST(MaxTimeoutTest, ContentStreamSSL) {
86258625
time_t timeout = 2000;
8626-
time_t threshold = 500; // SSL_shutdown is slow on some operating systems.
8626+
time_t threshold = 1200; // SSL_shutdown is slow on some operating systems.
86278627

86288628
SSLServer svr(SERVER_CERT_FILE, SERVER_PRIVATE_KEY_FILE);
86298629

0 commit comments

Comments
 (0)