Expand adversarial HTTP request parser coverage
HA
13h ago+283+283+012345678901234567890123456789-1-1-0123456789
Summary
Builds on #3112 with 18 additional tests for http_parse_request_line_and_headers.
- Adds seven pinned llhttp examples, documenting intentional differences.
- Tests every split position of representative requests.
- Exercises all 256 byte values in methods, targets, header names, and values.
- Covers repeated headers, binary bodies, pipelining boundaries, and borrowed input views.
- Checks every result member, including empty results after incomplete or malformed input.
Only the existing test file changes. Parser behavior remains unchanged.
Verification
- All 33 parser tests and the full HTTP suite passed on Linux/GCC.
- Parser tests passed with ASan/UBSan and unsigned-char builds.
- All six deliberate parser mutations were caught by the new tests.
- Formatting and Clang-Tidy passed.
- LeakSanitizer was blocked by environment tracing.
- macOS, Windows, and the full Core suite were not run locally.