PQ Crypta Logo

DATA frame before any HEADERS on the response stream

Close the connection with H3_FRAME_UNEXPECTED. A response begins with a field section, and §4.1 makes "receipt of an invalid sequence of frames" a connection error of that type — a body arriving before the headers that describe it is exactly that.

Jump to an anomaly59

Every one of these is a page: what the server emits, the clause it is judged against, and how each client answered. The full list carries the verdict tallies too.

h-data-before-headers · RFC 9114 §4.1 · correctness · layer http3 · udp/4491 · MUST

Passing this means: Rejected something invalid, with the code the RFC names.

Anomaly type: response_stream

How each client answered

ClientVersionVerdictWhat happened
curl libcurl/8.23.0 ngtcp2/1.26.0 Fail Objected at the QUIC layer (rejected at the QUIC layer with INTERNAL_ERROR) instead of signalling the HTTP/3 error. The violation was detected and rejected, which is the right instinct; §8.1 requires an HTTP/3 connection error to be carried in an application close, and this test names 0x105. A transport close carries no HTTP/3 code at all, so a peer has no way to learn what was wrong.
quinn noq fork (2d81eb2) Pass Rejected with the required error code 0x105.
aioquic 1.7.2 (PyPI wheel) Pass Rejected with the required error code 0x105.
chromium build 1254 Pass Rejected with the required error code 0x105.
quic-go quic-go v0.65.0 (h1:RAro2j2yN9a9) Pass Rejected with the required error code 0x105.
quiche 0.30.0 (d7387df) Fail Accepted a protocol violation and carried on. The anomaly was in the response the client read and delivered, so it was seen; this should have been rejected.
neqo 0.34.0 (7279e4b) Pass Rejected with the required error code 0x105.
picoquic 3a0c3bc Pass Rejected with the required error code 0x105.
ngtcp2 e82176c Pass Rejected with the required error code 0x105.
lsquic 4.11.1 (cd23e52) Pass Rejected with the required error code 0x105.
xquic 8099bd2 + demo_client IPv6 fix Pass Rejected with the required error code 0x105.
msquic 2.7.0 (d3d28f7) Fail Rejected, but with error 0x102 where the specification requires 0x105. The violation was detected; the code reported is wrong.
quico 0.8.0 (npm) Pass Rejected with the required error code 0x105.

What the clause requires

Close the connection with H3_FRAME_UNEXPECTED. A response begins with a field section, and §4.1 makes "receipt of an invalid sequence of frames" a connection error of that type — a body arriving before the headers that describe it is exactly that.

Judged against RFC 9114.

Run this one yourself

Every test is reachable from your own client. Nothing here needs an account.

curl -s https://conformance.pqcrypta.com/catalog.json \
  | jq '.tests[] | select(.id == "h-data-before-headers")'

⟨ QUANTUM ERROR PORTAL ⟩

Navigate the Error Dimensions