Skip to content

Commit

Permalink
Simply reserve the RST_STREAM code of 0.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinthomson committed Oct 5, 2017
1 parent 0d0b7ab commit 7278425
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions draft-ietf-quic-http.md
Expand Up @@ -882,7 +882,7 @@ the cause of a connection or stream error.
The following error codes are defined for use in QUIC RST_STREAM and
APPLICATION_CLOSE frames when using HTTP/QUIC.

HTTP_STOPPING (0x00):
Reserved (0x00):
: This value is reserved by the transport to be used in response to QUIC
STOP_SENDING frames.

Expand Down Expand Up @@ -1306,7 +1306,7 @@ The entries in the following table are registered by this document.
|-----------------------------------|--------|----------------------------------------|----------------------|
| Name | Code | Description | Specification |
|-----------------------------------|--------|----------------------------------------|----------------------|
| HTTP_STOPPING | 0x00 | STOPPING (reserved by transport) | {{http-error-codes}} |
| (reserved) | 0x00 | Reserved by transport | {{http-error-codes}} |
| HTTP_NO_ERROR | 0x01 | No error | {{http-error-codes}} |
| HTTP_PUSH_REFUSED | 0x02 | Client refused pushed content | {{http-error-codes}} |
| HTTP_INTERNAL_ERROR | 0x03 | Internal error | {{http-error-codes}} |
Expand Down
4 changes: 2 additions & 2 deletions draft-ietf-quic-transport.md
Expand Up @@ -3144,8 +3144,8 @@ APPLICATION_CLOSE ({{frame-application-close}}) frames.
There is no restriction on the use of the 16-bit error code space for
application protocols. However, QUIC reserves the error code with a value of 0
to mean STOPPING. The application error code of STOPPING (0) is used by the
transport to cancel a stream in response to receipt of a STOP_SENDING frame.
for use in RST_STREAM. An application error code of 0 is used by QUIC to cancel
a stream in response to receipt of a STOP_SENDING frame.
# Security and Privacy Considerations
Expand Down

0 comments on commit 7278425

Please sign in to comment.