Commit be96234
test: add single-feed skip+message test for ReadBuffer
Exercises the case where a single feed() call both completes an
oversized-message skip and delivers the next valid message. The
effective_len calculation and discard logic interact non-trivially
in this scenario, which was previously untested.
Closes #118
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 1a22ee9 commit be96234
1 file changed
Lines changed: 33 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
458 | 491 | | |
459 | 492 | | |
460 | 493 | | |
| |||
0 commit comments