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/microhttpd/internal.c | |
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/microhttpd/internal.c')
-rw-r--r-- | src/microhttpd/internal.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/microhttpd/internal.c b/src/microhttpd/internal.c index 33542c4a..c5ffa856 100644 --- a/src/microhttpd/internal.c +++ b/src/microhttpd/internal.c | |||
@@ -214,11 +214,11 @@ MHD_parse_arguments_ (struct MHD_Connection *connection, | |||
214 | connection, | 214 | connection, |
215 | args); | 215 | args); |
216 | if (MHD_NO == cb (connection, | 216 | if (MHD_NO == cb (connection, |
217 | args, | 217 | args, |
218 | key_len, | 218 | key_len, |
219 | NULL, | 219 | NULL, |
220 | 0, | 220 | 0, |
221 | kind)) | 221 | kind)) |
222 | return MHD_NO; | 222 | return MHD_NO; |
223 | (*num_headers)++; | 223 | (*num_headers)++; |
224 | break; | 224 | break; |
@@ -235,11 +235,11 @@ MHD_parse_arguments_ (struct MHD_Connection *connection, | |||
235 | connection, | 235 | connection, |
236 | equals); | 236 | equals); |
237 | if (MHD_NO == cb (connection, | 237 | if (MHD_NO == cb (connection, |
238 | args, | 238 | args, |
239 | key_len, | 239 | key_len, |
240 | equals, | 240 | equals, |
241 | value_len, | 241 | value_len, |
242 | kind)) | 242 | kind)) |
243 | return MHD_NO; | 243 | return MHD_NO; |
244 | (*num_headers)++; | 244 | (*num_headers)++; |
245 | break; | 245 | break; |
@@ -256,11 +256,11 @@ MHD_parse_arguments_ (struct MHD_Connection *connection, | |||
256 | connection, | 256 | connection, |
257 | args); | 257 | args); |
258 | if (MHD_NO == cb (connection, | 258 | if (MHD_NO == cb (connection, |
259 | args, | 259 | args, |
260 | key_len, | 260 | key_len, |
261 | NULL, | 261 | NULL, |
262 | 0, | 262 | 0, |
263 | kind)) | 263 | kind)) |
264 | return MHD_NO; | 264 | return MHD_NO; |
265 | /* continue with 'bar' */ | 265 | /* continue with 'bar' */ |
266 | (*num_headers)++; | 266 | (*num_headers)++; |
@@ -280,11 +280,11 @@ MHD_parse_arguments_ (struct MHD_Connection *connection, | |||
280 | connection, | 280 | connection, |
281 | equals); | 281 | equals); |
282 | if (MHD_NO == cb (connection, | 282 | if (MHD_NO == cb (connection, |
283 | args, | 283 | args, |
284 | key_len, | 284 | key_len, |
285 | equals, | 285 | equals, |
286 | value_len, | 286 | value_len, |
287 | kind)) | 287 | kind)) |
288 | return MHD_NO; | 288 | return MHD_NO; |
289 | (*num_headers)++; | 289 | (*num_headers)++; |
290 | args = amper; | 290 | args = amper; |