Skip to content

Commit

Permalink
Split errors in HTTP too
Browse files Browse the repository at this point in the history
  • Loading branch information
martinthomson committed Aug 11, 2017
1 parent 1f00110 commit fc7ced7
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions draft-ietf-quic-http.md
Original file line number Diff line number Diff line change
Expand Up @@ -799,16 +799,15 @@ This ensures that a connection can be cleanly shut down without losing requests.
QUIC allows the application to abruptly terminate (reset) individual streams or
the entire connection when an error is encountered. These are referred to as
"stream errors" or "connection errors" and are described in more detail in
[QUIC-TRANSPORT].
{{QUIC-TRANSPORT}}.

This section describes HTTP-specific error codes which can be used to express
the cause of a connection or stream error.

## HTTP-Defined QUIC Error Codes {#http-error-codes}

QUIC allocates error codes 0x0000-0x3FFF to application protocol definition. The
following error codes are defined by HTTP for use in QUIC RST_STREAM and
CONNECTION_CLOSE frames.
The following error codes are defined by HTTP for use in QUIC RST_STREAM and
APPLICATION_CLOSE frames.

HTTP_PUSH_REFUSED (0x01):
: The server has attempted to push content which the client will not accept
Expand Down Expand Up @@ -1192,7 +1191,7 @@ The entries in the following table are registered by this document.
## Error Codes {#iana-error-codes}

This document establishes a registry for HTTP/QUIC error codes. The
"HTTP/QUIC Error Code" registry manages a 30-bit space. The "HTTP/QUIC
"HTTP/QUIC Error Code" registry manages a 32-bit space. The "HTTP/QUIC
Error Code" registry operates under the "Expert Review" policy
{{?RFC5226}}.

Expand All @@ -1207,7 +1206,7 @@ Name:
: A name for the error code. Specifying an error code name is optional.

Code:
: The 30-bit error code value.
: The 32-bit error code value.

Description:
: A brief description of the error code semantics, longer if no detailed
Expand Down

0 comments on commit fc7ced7

Please sign in to comment.