Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forwarding status of errors on streams #3303

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions draft-ietf-quic-http.md
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,13 @@ not acting as a tunnel) MUST NOT forward a malformed request or response.
Malformed requests or responses that are detected MUST be treated as a stream
error ({{errors}}) of type H3_GENERAL_PROTOCOL_ERROR.

An intermediary acting as a tunnel could carry HTTP messages from multiple
endpoints on one side to a single endpoint on the other side within a single
HTTP/3 connection. Such an intermediary might forward malformed HTTP messages
as well. To limit the scope of damage to the offending endpoint, an endpoint
that detects a malformed request or response MUST NOT escalate this error to a
connection-level error unless specified otherwise.

For malformed requests, a server MAY send an HTTP response prior to closing or
resetting the stream. Clients MUST NOT accept a malformed response. Note that
these requirements are intended to protect against several types of common
Expand Down