diff options
Diffstat (limited to 'src/testcurl/https')
-rw-r--r-- | src/testcurl/https/test_empty_response.c | 2 | ||||
-rw-r--r-- | src/testcurl/https/test_https_get_parallel.c | 4 | ||||
-rw-r--r-- | src/testcurl/https/test_https_get_parallel_threads.c | 6 | ||||
-rw-r--r-- | src/testcurl/https/tls_test_common.c | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/src/testcurl/https/test_empty_response.c b/src/testcurl/https/test_empty_response.c index 6f29fbe5..cfd75e8f 100644 --- a/src/testcurl/https/test_empty_response.c +++ b/src/testcurl/https/test_empty_response.c | |||
@@ -20,7 +20,7 @@ | |||
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file test_empty_response.c | 22 | * @file test_empty_response.c |
23 | * @brief Testcase for libmicrohttpd HTTPS GET operations with emtpy reply | 23 | * @brief Testcase for libmicrohttpd HTTPS GET operations with empty reply |
24 | * @author Christian Grothoff | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
diff --git a/src/testcurl/https/test_https_get_parallel.c b/src/testcurl/https/test_https_get_parallel.c index e4040874..aa7f8d58 100644 --- a/src/testcurl/https/test_https_get_parallel.c +++ b/src/testcurl/https/test_https_get_parallel.c | |||
@@ -60,7 +60,7 @@ https_transfer_thread_adapter (void *args) | |||
60 | struct https_test_data *cargs = args; | 60 | struct https_test_data *cargs = args; |
61 | int ret; | 61 | int ret; |
62 | 62 | ||
63 | /* time spread incomming requests */ | 63 | /* time spread incoming requests */ |
64 | usleep ((useconds_t) 10.0 * ((double) rand ()) / ((double) RAND_MAX)); | 64 | usleep ((useconds_t) 10.0 * ((double) rand ()) / ((double) RAND_MAX)); |
65 | ret = test_https_transfer (NULL, cargs->port, | 65 | ret = test_https_transfer (NULL, cargs->port, |
66 | cargs->cipher_suite, cargs->proto_version); | 66 | cargs->cipher_suite, cargs->proto_version); |
@@ -98,7 +98,7 @@ test_single_client (void *cls, int port, const char *cipher_suite, | |||
98 | * | 98 | * |
99 | * @return: 0 upon all client requests returning '0', -1 otherwise. | 99 | * @return: 0 upon all client requests returning '0', -1 otherwise. |
100 | * | 100 | * |
101 | * TODO : make client_count a parameter - numver of curl client threads to spawn | 101 | * TODO : make client_count a parameter - number of curl client threads to spawn |
102 | */ | 102 | */ |
103 | static int | 103 | static int |
104 | test_parallel_clients (void *cls, int port, const char *cipher_suite, | 104 | test_parallel_clients (void *cls, int port, const char *cipher_suite, |
diff --git a/src/testcurl/https/test_https_get_parallel_threads.c b/src/testcurl/https/test_https_get_parallel_threads.c index 3fc0e189..470072cb 100644 --- a/src/testcurl/https/test_https_get_parallel_threads.c +++ b/src/testcurl/https/test_https_get_parallel_threads.c | |||
@@ -61,7 +61,7 @@ https_transfer_thread_adapter (void *args) | |||
61 | struct https_test_data *cargs = args; | 61 | struct https_test_data *cargs = args; |
62 | int ret; | 62 | int ret; |
63 | 63 | ||
64 | /* time spread incomming requests */ | 64 | /* time spread incoming requests */ |
65 | usleep ((useconds_t) 10.0 * ((double) rand ()) / ((double) RAND_MAX)); | 65 | usleep ((useconds_t) 10.0 * ((double) rand ()) / ((double) RAND_MAX)); |
66 | ret = test_https_transfer (cargs->cls, cargs->port, | 66 | ret = test_https_transfer (cargs->cls, cargs->port, |
67 | cargs->cipher_suite, cargs->proto_version); | 67 | cargs->cipher_suite, cargs->proto_version); |
@@ -76,7 +76,7 @@ https_transfer_thread_adapter (void *args) | |||
76 | * | 76 | * |
77 | * @return: 0 upon all client requests returning '0', -1 otherwise. | 77 | * @return: 0 upon all client requests returning '0', -1 otherwise. |
78 | * | 78 | * |
79 | * TODO : make client_count a parameter - numver of curl client threads to spawn | 79 | * TODO : make client_count a parameter - number of curl client threads to spawn |
80 | */ | 80 | */ |
81 | static int | 81 | static int |
82 | test_single_client (void *cls, int port, const char *cipher_suite, | 82 | test_single_client (void *cls, int port, const char *cipher_suite, |
@@ -99,7 +99,7 @@ test_single_client (void *cls, int port, const char *cipher_suite, | |||
99 | * | 99 | * |
100 | * @return: 0 upon all client requests returning '0', -1 otherwise. | 100 | * @return: 0 upon all client requests returning '0', -1 otherwise. |
101 | * | 101 | * |
102 | * TODO : make client_count a parameter - numver of curl client threads to spawn | 102 | * TODO : make client_count a parameter - number of curl client threads to spawn |
103 | */ | 103 | */ |
104 | static int | 104 | static int |
105 | test_parallel_clients (void *cls, int port, const char *cipher_suite, | 105 | test_parallel_clients (void *cls, int port, const char *cipher_suite, |
diff --git a/src/testcurl/https/tls_test_common.c b/src/testcurl/https/tls_test_common.c index f68f5979..c0c6a4f8 100644 --- a/src/testcurl/https/tls_test_common.c +++ b/src/testcurl/https/tls_test_common.c | |||
@@ -401,7 +401,7 @@ test_https_transfer (void *cls, | |||
401 | goto cleanup; | 401 | goto cleanup; |
402 | } | 402 | } |
403 | 403 | ||
404 | /* compare test file & daemon responce */ | 404 | /* compare test file & daemon response */ |
405 | if ( (len != strlen (test_data)) || | 405 | if ( (len != strlen (test_data)) || |
406 | (memcmp (cbc.buf, | 406 | (memcmp (cbc.buf, |
407 | test_data, | 407 | test_data, |