Commit 914ac9e
authored
* fix #292 handle argument keys with multiple values
This change allows the server to handle argument keys with multiple values
e.g. url?arg=param&arg=what
Previous, the arg key would just be overwritten with the next value. This
change adds a http_arg_value type to house all the values for a given key.
Adjust existing get_arg(s) methods, and add some get_arg_flat type
methods that still just return the first value for a given key.
Add a test case for multiple valued keys.
Add a test case for a large file upload that triggers chunking behavior
of MHD. This causes the server to concatenate file chunks within the
first value of the given arg key, so the test ensures that this
behavior is not affected by the changes.
* fix #292 handle argument keys with multiple values
This change allows the server to handle argument keys with multiple values
e.g. url?arg=param&arg=what
Previous, the arg key would just be overwritten with the next value. This
change adds a http_arg_value type to house all the values for a given key.
Adjust existing get_arg(s) methods, and add some get_arg_flat type
methods that still just return the first value for a given key.
Add a test case for multiple valued keys.
Add a test case for a large file upload that triggers chunking behavior
of MHD. This causes the server to concatenate file chunks within the
first value of the given arg key, so the test ensures that this
behavior is not affected by the changes.
* fix #292 handle argument keys with multiple values
This change allows the server to handle argument keys with multiple values
e.g. url?arg=param&arg=what
Previous, the arg key would just be overwritten with the next value. This
change adds a http_arg_value type to house all the values for a given key.
Adjust existing get_arg(s) methods, and add some get_arg_flat type
methods that still just return the first value for a given key.
Add a test case for multiple valued keys.
Add a test case for a large file upload that triggers chunking behavior
of MHD. This causes the server to concatenate file chunks within the
first value of the given arg key, so the test ensures that this
behavior is not affected by the changes.
* fix #292 handle argument keys with multiple values
This change allows the server to handle argument keys with multiple values
e.g. url?arg=param&arg=what
Previous, the arg key would just be overwritten with the next value. This
change adds a http_arg_value type to house all the values for a given key.
Adjust existing get_arg(s) methods, and add some get_arg_flat type
methods that still just return the first value for a given key.
Add a test case for multiple valued keys.
Add a test case for a large file upload that triggers chunking behavior
of MHD. This causes the server to concatenate file chunks within the
first value of the given arg key, so the test ensures that this
behavior is not affected by the changes.
* fix #292 handle argument keys with multiple values
This change allows the server to handle argument keys with multiple values
e.g. url?arg=param&arg=what
Previous, the arg key would just be overwritten with the next value. This
change adds a http_arg_value type to house all the values for a given key.
Adjust existing get_arg(s) methods, and add some get_arg_flat type
methods that still just return the first value for a given key.
Add a test case for multiple valued keys.
Add a test case for a large file upload that triggers chunking behavior
of MHD. This causes the server to concatenate file chunks within the
first value of the given arg key, so the test ensures that this
behavior is not affected by the changes.
* fix #292 handle argument keys with multiple values
This change allows the server to handle argument keys with multiple values
e.g. url?arg=param&arg=what
Previous, the arg key would just be overwritten with the next value. This
change adds a http_arg_value type to house all the values for a given key.
Adjust existing get_arg(s) methods, and add some get_arg_flat type
methods that still just return the first value for a given key.
Add a test case for multiple valued keys.
Add a test case for a large file upload that triggers chunking behavior
of MHD. This causes the server to concatenate file chunks within the
first value of the given arg key, so the test ensures that this
behavior is not affected by the changes.
* fix #292 handle argument keys with multiple values
This change allows the server to handle argument keys with multiple values
e.g. url?arg=param&arg=what
Previous, the arg key would just be overwritten with the next value. This
change adds a http_arg_value type to house all the values for a given key.
Adjust existing get_arg(s) methods, and add some get_arg_flat type
methods that still just return the first value for a given key.
Add a test case for multiple valued keys.
Add a test case for a large file upload that triggers chunking behavior
of MHD. This causes the server to concatenate file chunks within the
first value of the given arg key, so the test ensures that this
behavior is not affected by the changes.
* fix #292 handle argument keys with multiple values
This change allows the server to handle argument keys with multiple values
e.g. url?arg=param&arg=what
Previous, the arg key would just be overwritten with the next value. This
change adds a http_arg_value type to house all the values for a given key.
Adjust existing get_arg(s) methods, and add some get_arg_flat type
methods that still just return the first value for a given key.
Add a test case for multiple valued keys.
Add a test case for a large file upload that triggers chunking behavior
of MHD. This causes the server to concatenate file chunks within the
first value of the given arg key, so the test ensures that this
behavior is not affected by the changes.
* fix #292 handle argument keys with multiple values
This change allows the server to handle argument keys with multiple values
e.g. url?arg=param&arg=what
Previous, the arg key would just be overwritten with the next value. This
change adds a http_arg_value type to house all the values for a given key.
Adjust existing get_arg(s) methods, and add some get_arg_flat type
methods that still just return the first value for a given key.
Add a test case for multiple valued keys.
Add a test case for a large file upload that triggers chunking behavior
of MHD. This causes the server to concatenate file chunks within the
first value of the given arg key, so the test ensures that this
behavior is not affected by the changes.
* fix #292 handle argument keys with multiple values
This change allows the server to handle argument keys with multiple values
e.g. url?arg=param&arg=what
Previous, the arg key would just be overwritten with the next value. This
change adds a http_arg_value type to house all the values for a given key.
Adjust existing get_arg(s) methods, and add some get_arg_flat type
methods that still just return the first value for a given key.
Add a test case for multiple valued keys.
Add a test case for a large file upload that triggers chunking behavior
of MHD. This causes the server to concatenate file chunks within the
first value of the given arg key, so the test ensures that this
behavior is not affected by the changes.
* fix #292 handle argument keys with multiple values
This change allows the server to handle argument keys with multiple values
e.g. url?arg=param&arg=what
Previous, the arg key would just be overwritten with the next value. This
change adds a http_arg_value type to house all the values for a given key.
Adjust existing get_arg(s) methods, and add some get_arg_flat type
methods that still just return the first value for a given key.
Add a test case for multiple valued keys.
Add a test case for a large file upload that triggers chunking behavior
of MHD. This causes the server to concatenate file chunks within the
first value of the given arg key, so the test ensures that this
behavior is not affected by the changes.
* fix #292 handle argument keys with multiple values
This change allows the server to handle argument keys with multiple values
e.g. url?arg=param&arg=what
Previous, the arg key would just be overwritten with the next value. This
change adds a http_arg_value type to house all the values for a given key.
Adjust existing get_arg(s) methods, and add some get_arg_flat type
methods that still just return the first value for a given key.
Add a test case for multiple valued keys.
Add a test case for a large file upload that triggers chunking behavior
of MHD. This causes the server to concatenate file chunks within the
first value of the given arg key, so the test ensures that this
behavior is not affected by the changes.
* fix #292 handle argument keys with multiple values
This change allows the server to handle argument keys with multiple values
e.g. url?arg=param&arg=what
Previous, the arg key would just be overwritten with the next value. This
change adds a http_arg_value type to house all the values for a given key.
Adjust existing get_arg(s) methods, and add some get_arg_flat type
methods that still just return the first value for a given key.
Add a test case for multiple valued keys.
Add a test case for a large file upload that triggers chunking behavior
of MHD. This causes the server to concatenate file chunks within the
first value of the given arg key, so the test ensures that this
behavior is not affected by the changes.
1 parent 17dd399 commit 914ac9e
File tree
13 files changed
+664
-61
lines changed- src
- httpserver
- test
- integ
- unit
13 files changed
+664
-61
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| 278 | + | |
278 | 279 | | |
279 | 280 | | |
280 | 281 | | |
| |||
292 | 293 | | |
293 | 294 | | |
294 | 295 | | |
295 | | - | |
| 296 | + | |
296 | 297 | | |
297 | 298 | | |
298 | 299 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
109 | 119 | | |
| 120 | + | |
110 | 121 | | |
111 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
112 | 128 | | |
113 | | - | |
114 | | - | |
| 129 | + | |
115 | 130 | | |
116 | 131 | | |
117 | | - | |
118 | | - | |
| 132 | + | |
| 133 | + | |
119 | 134 | | |
120 | | - | |
121 | | - | |
122 | | - | |
| 135 | + | |
| 136 | + | |
123 | 137 | | |
124 | 138 | | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 139 | + | |
| 140 | + | |
130 | 141 | | |
131 | | - | |
| 142 | + | |
| 143 | + | |
132 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
133 | 152 | | |
134 | 153 | | |
135 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
136 | 164 | | |
137 | 165 | | |
138 | 166 | | |
| |||
155 | 183 | | |
156 | 184 | | |
157 | 185 | | |
158 | | - | |
| 186 | + | |
159 | 187 | | |
160 | 188 | | |
161 | 189 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
513 | | - | |
514 | | - | |
| 513 | + | |
515 | 514 | | |
516 | 515 | | |
517 | 516 | | |
| |||
524 | 523 | | |
525 | 524 | | |
526 | 525 | | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | 526 | | |
532 | | - | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
533 | 543 | | |
534 | 544 | | |
535 | 545 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
137 | | - | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
142 | 149 | | |
143 | 150 | | |
144 | 151 | | |
| |||
174 | 181 | | |
175 | 182 | | |
176 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
177 | 192 | | |
178 | 193 | | |
179 | | - | |
| 194 | + | |
180 | 195 | | |
181 | 196 | | |
182 | 197 | | |
| |||
298 | 313 | | |
299 | 314 | | |
300 | 315 | | |
301 | | - | |
| 316 | + | |
302 | 317 | | |
303 | 318 | | |
304 | 319 | | |
| |||
308 | 323 | | |
309 | 324 | | |
310 | 325 | | |
311 | | - | |
| 326 | + | |
312 | 327 | | |
313 | 328 | | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
314 | 337 | | |
315 | 338 | | |
316 | 339 | | |
| |||
366 | 389 | | |
367 | 390 | | |
368 | 391 | | |
369 | | - | |
370 | | - | |
371 | | - | |
| 392 | + | |
| 393 | + | |
372 | 394 | | |
373 | 395 | | |
374 | 396 | | |
| |||
386 | 408 | | |
387 | 409 | | |
388 | 410 | | |
389 | | - | |
| 411 | + | |
390 | 412 | | |
391 | 413 | | |
| 414 | + | |
| 415 | + | |
392 | 416 | | |
393 | 417 | | |
394 | 418 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
| |||
299 | 301 | | |
300 | 302 | | |
301 | 303 | | |
| 304 | + | |
302 | 305 | | |
303 | 306 | | |
304 | 307 | | |
| |||
314 | 317 | | |
315 | 318 | | |
316 | 319 | | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
317 | 326 | | |
318 | 327 | | |
319 | 328 | | |
320 | 329 | | |
321 | | - | |
322 | | - | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
323 | 333 | | |
324 | 334 | | |
325 | 335 | | |
| |||
0 commit comments