From 673c5913f7e8361f6fcd5d910548db91d0bea5c3 Mon Sep 17 00:00:00 2001 From: Martin Thomson Date: Tue, 20 Oct 2020 08:45:38 +1100 Subject: [PATCH 1/2] Explain and discourage HTTP/2 error code overlap This provides guidance to experts about avoiding overlap of error codes with HTTP/2 and explains why the codes in the document are where they are. Closes #4231. --- draft-ietf-quic-http.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/draft-ietf-quic-http.md b/draft-ietf-quic-http.md index 61d4febabf..133ea22f78 100644 --- a/draft-ietf-quic-http.md +++ b/draft-ietf-quic-http.md @@ -2111,10 +2111,11 @@ values between 0x00 and 0x3f (in hexadecimal; inclusive), which are assigned using Standards Action or IESG Approval as defined in Section 4.9 and 4.10 of {{!RFC8126}}. -Registrations for error codes are required to include a description -of the error code. An expert reviewer is advised to examine new -registrations for possible duplication with existing error codes. -Use of existing registrations is to be encouraged, but not mandated. +Registrations for error codes are required to include a description of the +error code. An expert reviewer is advised to examine new registrations for +possible duplication with existing error codes. Use of existing +registrations is to be encouraged, but not mandated. Use of values that +are registered in the "HTTP/2 Error Code" registry is discouraged. In addition to common fields as described in {{iana-policy}}, this registry includes two additional fields. Permanent registrations in this registry MUST @@ -2126,7 +2127,9 @@ Name: Description: : A brief description of the error code semantics. -The entries in {{iana-error-table}} are registered by this document. +The entries in {{iana-error-table}} are registered by this document. These +Error codes were selected from the range that operates on a Specification +Required policy to avoid collisions with HTTP/2 error codes. | --------------------------------- | ---------- | ---------------------------------------- | ---------------------- | | Name | Value | Description | Specification | From 7335956060634ce9a28f5e0a337da4f796802336 Mon Sep 17 00:00:00 2001 From: Martin Thomson Date: Tue, 20 Oct 2020 11:42:47 +1100 Subject: [PATCH 2/2] ~E Co-authored-by: Jana Iyengar --- draft-ietf-quic-http.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draft-ietf-quic-http.md b/draft-ietf-quic-http.md index 133ea22f78..48ecea2419 100644 --- a/draft-ietf-quic-http.md +++ b/draft-ietf-quic-http.md @@ -2128,7 +2128,7 @@ Description: : A brief description of the error code semantics. The entries in {{iana-error-table}} are registered by this document. These -Error codes were selected from the range that operates on a Specification +error codes were selected from the range that operates on a Specification Required policy to avoid collisions with HTTP/2 error codes. | --------------------------------- | ---------- | ---------------------------------------- | ---------------------- |