Repository navigation
Closed
Description
The weekly Http11Probe run (see docs/http11probe-report.md, score 143/161) surfaced real RFC 9110/9112 validation gaps — the server returns 200 where it must reject. These are genuine server behaviours (parser/protocol layer), not test-harness artifacts, and several are request-smuggling-adjacent.
Host validation (RFC 9112 §3.2 / 9110 §7.2) — all return 200, must be 400
RFC9112-7.1-MISSING-HOST— request with noHostheader.RFC9110-5.4-DUPLICATE-HOST— duplicateHostwith different values (smuggling vector).COMP-DUPLICATE-HOST-SAME— duplicateHostwith identical values.COMP-HOST-WITH-USERINFO—Host: user@host.COMP-HOST-WITH-PATH—Hostcontaining a path component.COMP-HOST-EMPTY-VALUE— emptyHostvalue.SMUG-MULTIPLE-HOST-COMMA— comma-joinedHostvalues.
Other Must-level gaps
SMUG-TE-EMPTY-VALUE— emptyTransfer-Encodingvalue should be rejected (smuggling).COMP-DATE-HEADER— origin responses must include aDateheader; we emit none.COMP-HEAD-NO-BODY— verifyHEADresponses carry no message body.COMP-METHOD-CONNECT(Should) —CONNECTto an origin should be rejected (400/405/501).COMP-ASTERISK-WITH-GET— asterisk-form target withGETshould be rejected.
Lower priority
COMP-HTTP12-VERSION(May) —HTTP/1.2should be treated as 1.x-compatible (we 400/close).- Warnings (40) are mostly tolerant
400 or 2xxchecks where 200 is acceptable — see the report; the caching-304 warns are probe-harness limits (the generic probe target has no conditional-request logic; the real static handler does 304).
Notes
- The chunked/POST
2xx + echo"failures" in the report are harness limitations (the probe targettests/bench/probe_server.phpanswers a fixed body, not an echo) — not server bugs. Tracked separately under test-infra continuation. - Source of truth:
docs/http11probe-report.md(refreshed weekly by.github/workflows/chaos.yml).
Acceptance
- Host validation: missing / duplicate / userinfo / path / empty / comma-joined → 400
- Empty
Transfer-Encoding→ 400 -
Dateresponse header emitted -
HEADcarries no body (verified) -
CONNECTto origin rejected - Http11Probe score baseline raised in
.github/workflows/chaos.ymlas gaps close
Metadata
Metadata
Assignees
Labels
bugSomething isn't working
Activity
Merge pull request #49 from true-async/47-http1-rfc-validation-gaps
test(http1parser/010): swap CONNECT → OPTIONS (CONNECT now rejected, #47
Merge pull request #50 from true-async/47-http1-rfc-validation-gaps
http1: map llhttp HPE_INVALID_VERSION to 505, not generic 400 (#47)
Merge pull request #57 from true-async/47-hardening-fragment-backslas…
EdmondDantes commentedon May 29, 2026
Done. Http11Probe 143 → 161/161 (0 failed).
Merged:
The 16 remaining probe warnings are RFC-acceptable (200 allowed; stricter optional). Two items consciously left:
COMP-HTTP12-VERSION(May) — HTTP/1.2 → 400 not 200/505; llhttp rejects the version before our handler and uses the same errno for malformed versions, so a clean 505 isn't reachable without llhttp leniency.RFC9112-3-MULTI-SP-REQUEST-LINE(Should) — llhttp consumes request-line spacing before our callbacks; not detectable post-parse.Both are low-priority and 200/400 are accepted by the probe. Remaining test-infra work continues in #48.