Commit d4a8dd4
committed
test: add integration test for multi-segment POST body buffering
Add a POST handler to the test server that echoes the received body
length, and a test case that POSTs 3000 bytes (> ~1460 byte MTU) from
the buildroot guest via curl + dd. Verifies the full body reaches the
server after the binary-safe buffering fix.1 parent 2e022cd commit d4a8dd4
1 file changed
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
252 | 269 | | |
253 | 270 | | |
254 | 271 | | |
| |||
395 | 412 | | |
396 | 413 | | |
397 | 414 | | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
398 | 428 | | |
399 | 429 | | |
400 | 430 | | |
| |||
0 commit comments