mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 01:08:27 +00:00
Made the max timeout threshold for SSL longer.
This commit is contained in:
parent
b7e33b08f1
commit
3e3a8cc02f
1 changed files with 1 additions and 1 deletions
|
@ -8623,7 +8623,7 @@ TEST(MaxTimeoutTest, ContentStream) {
|
||||||
#ifdef CPPHTTPLIB_OPENSSL_SUPPORT
|
#ifdef CPPHTTPLIB_OPENSSL_SUPPORT
|
||||||
TEST(MaxTimeoutTest, ContentStreamSSL) {
|
TEST(MaxTimeoutTest, ContentStreamSSL) {
|
||||||
time_t timeout = 2000;
|
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);
|
SSLServer svr(SERVER_CERT_FILE, SERVER_PRIVATE_KEY_FILE);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue