diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-10-05 13:37:20 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-10-10 11:54:29 +0300 |
commit | 4237407f817a7ff463fca73da3bbc76947d03a53 (patch) | |
tree | d8d3d35327c148dad9eef125dfe3821f92160b09 | |
parent | 8d00c4f7785900821627bb2e287552d6e6383469 (diff) | |
download | libmicrohttpd-4237407f817a7ff463fca73da3bbc76947d03a53.tar.gz libmicrohttpd-4237407f817a7ff463fca73da3bbc76947d03a53.zip |
test_https_get_parallel{,_threads}: removed artificial delay
-rw-r--r-- | src/testcurl/https/test_https_get_parallel.c | 2 | ||||
-rw-r--r-- | src/testcurl/https/test_https_get_parallel_threads.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/testcurl/https/test_https_get_parallel.c b/src/testcurl/https/test_https_get_parallel.c index 4e83bbf2..888b2f7c 100644 --- a/src/testcurl/https/test_https_get_parallel.c +++ b/src/testcurl/https/test_https_get_parallel.c | |||
@@ -56,8 +56,6 @@ https_transfer_thread_adapter (void *args) | |||
56 | struct https_test_data *cargs = args; | 56 | struct https_test_data *cargs = args; |
57 | unsigned int ret; | 57 | unsigned int ret; |
58 | 58 | ||
59 | /* time spread incoming requests */ | ||
60 | usleep ((useconds_t) 10.0 * ((double) rand ()) / ((double) RAND_MAX)); | ||
61 | ret = test_https_transfer (NULL, cargs->port, | 59 | ret = test_https_transfer (NULL, cargs->port, |
62 | cargs->cipher_suite, cargs->proto_version); | 60 | cargs->cipher_suite, cargs->proto_version); |
63 | if (ret == 0) | 61 | if (ret == 0) |
diff --git a/src/testcurl/https/test_https_get_parallel_threads.c b/src/testcurl/https/test_https_get_parallel_threads.c index 4ff57044..2da6ed9e 100644 --- a/src/testcurl/https/test_https_get_parallel_threads.c +++ b/src/testcurl/https/test_https_get_parallel_threads.c | |||
@@ -57,8 +57,6 @@ https_transfer_thread_adapter (void *args) | |||
57 | struct https_test_data *cargs = args; | 57 | struct https_test_data *cargs = args; |
58 | unsigned int ret; | 58 | unsigned int ret; |
59 | 59 | ||
60 | /* time spread incoming requests */ | ||
61 | usleep ((useconds_t) 10.0 * ((double) rand ()) / ((double) RAND_MAX)); | ||
62 | ret = test_https_transfer (cargs->cls, cargs->port, | 60 | ret = test_https_transfer (cargs->cls, cargs->port, |
63 | cargs->cipher_suite, cargs->proto_version); | 61 | cargs->cipher_suite, cargs->proto_version); |
64 | if (ret == 0) | 62 | if (ret == 0) |