diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-09-27 22:12:13 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-09-27 22:12:13 +0200 |
commit | beb7fa828c59c31d4a5178b82121435f2069b181 (patch) | |
tree | f5279645b6805e9e33aa1b2edb34df1e2e5c26af /src/testcurl/https | |
parent | 1d9f940dca89a5ee95a3247e43440ebd16c903af (diff) | |
download | libmicrohttpd-beb7fa828c59c31d4a5178b82121435f2069b181.tar.gz libmicrohttpd-beb7fa828c59c31d4a5178b82121435f2069b181.zip |
fix transmission stall issue with upgraded TLS connections reported by Nguyen Xuan Viet on the mailinglist
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.c | 4 | ||||
-rw-r--r-- | src/testcurl/https/test_https_session_info.c | 2 | ||||
-rw-r--r-- | src/testcurl/https/tls_test_common.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/testcurl/https/test_empty_response.c b/src/testcurl/https/test_empty_response.c index 8e1ef1a8..2cd159f9 100644 --- a/src/testcurl/https/test_empty_response.c +++ b/src/testcurl/https/test_empty_response.c | |||
@@ -49,7 +49,7 @@ ahc_echo (void *cls, | |||
49 | { | 49 | { |
50 | struct MHD_Response *response; | 50 | struct MHD_Response *response; |
51 | enum MHD_Result ret; | 51 | enum MHD_Result ret; |
52 | (void) cls; (void) url; (void) method; (void) version; /* Unused. Silent compiler warning. */ | 52 | (void) cls; (void) url; (void) method; (void) version; /* Unused. Silent compiler warning. */ |
53 | (void) upload_data; (void) upload_data_size; (void) unused; /* Unused. Silent compiler warning. */ | 53 | (void) upload_data; (void) upload_data_size; (void) unused; /* Unused. Silent compiler warning. */ |
54 | 54 | ||
55 | response = MHD_create_response_from_buffer (0, NULL, | 55 | response = MHD_create_response_from_buffer (0, NULL, |
diff --git a/src/testcurl/https/test_https_get.c b/src/testcurl/https/test_https_get.c index b8de81a9..ab0dd9cf 100644 --- a/src/testcurl/https/test_https_get.c +++ b/src/testcurl/https/test_https_get.c | |||
@@ -107,9 +107,9 @@ ahc_empty (void *cls, | |||
107 | (void) cls; | 107 | (void) cls; |
108 | (void) url; | 108 | (void) url; |
109 | (void) url; | 109 | (void) url; |
110 | (void) version; /* Unused. Silent compiler warning. */ | 110 | (void) version; /* Unused. Silent compiler warning. */ |
111 | (void) upload_data; | 111 | (void) upload_data; |
112 | (void) upload_data_size; /* Unused. Silent compiler warning. */ | 112 | (void) upload_data_size; /* Unused. Silent compiler warning. */ |
113 | 113 | ||
114 | if (0 != strcasecmp ("GET", | 114 | if (0 != strcasecmp ("GET", |
115 | method)) | 115 | method)) |
diff --git a/src/testcurl/https/test_https_session_info.c b/src/testcurl/https/test_https_session_info.c index f8b37cff..f80ea4cd 100644 --- a/src/testcurl/https/test_https_session_info.c +++ b/src/testcurl/https/test_https_session_info.c | |||
@@ -50,7 +50,7 @@ query_session_ahc (void *cls, struct MHD_Connection *connection, | |||
50 | struct MHD_Response *response; | 50 | struct MHD_Response *response; |
51 | enum MHD_Result ret; | 51 | enum MHD_Result ret; |
52 | int gret; | 52 | int gret; |
53 | (void) cls; (void) url; (void) method; (void) version; /* Unused. Silent compiler warning. */ | 53 | (void) cls; (void) url; (void) method; (void) version; /* Unused. Silent compiler warning. */ |
54 | (void) upload_data; (void) upload_data_size; /* Unused. Silent compiler warning. */ | 54 | (void) upload_data; (void) upload_data_size; /* Unused. Silent compiler warning. */ |
55 | 55 | ||
56 | if (NULL == *ptr) | 56 | if (NULL == *ptr) |
diff --git a/src/testcurl/https/tls_test_common.c b/src/testcurl/https/tls_test_common.c index 1d24c701..fc998317 100644 --- a/src/testcurl/https/tls_test_common.c +++ b/src/testcurl/https/tls_test_common.c | |||
@@ -189,7 +189,7 @@ http_ahc (void *cls, | |||
189 | static int aptr; | 189 | static int aptr; |
190 | struct MHD_Response *response; | 190 | struct MHD_Response *response; |
191 | enum MHD_Result ret; | 191 | enum MHD_Result ret; |
192 | (void) cls; (void) url; (void) version; /* Unused. Silent compiler warning. */ | 192 | (void) cls; (void) url; (void) version; /* Unused. Silent compiler warning. */ |
193 | (void) upload_data; (void) upload_data_size; /* Unused. Silent compiler warning. */ | 193 | (void) upload_data; (void) upload_data_size; /* Unused. Silent compiler warning. */ |
194 | 194 | ||
195 | if (0 != strcmp (method, MHD_HTTP_METHOD_GET)) | 195 | if (0 != strcmp (method, MHD_HTTP_METHOD_GET)) |