Skip to content

Commit

Permalink
Adjust threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
yhirose committed Feb 19, 2025
1 parent 14877fe commit 7cd6637
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 7cd6637

Please sign in to comment.