Commit c2c9656
committed
For a POST parameter with a large value, libmicrohttpd will call webserver::post_iterator
multiple times with chunnks of post data and successibe offsets. Currently, set_arg will
overwrites the value. So after all the successive post_iterator calls, the value will be
set to the last chunk.
This change fixes the set_arg() function(s).. by checking for existing value and appending to it
than overwriting it.1 parent 35dee0f commit c2c9656
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | | - | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
446 | 450 | | |
447 | 451 | | |
448 | 452 | | |
| |||
452 | 456 | | |
453 | 457 | | |
454 | 458 | | |
455 | | - | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
456 | 464 | | |
457 | 465 | | |
458 | 466 | | |
| |||
0 commit comments