[quicwg/base-drafts] Possible ambiguity for Handling Reserved HTTP/2 Settings parameters type values (#4809)

Lucas Pardue <notifications@github.com> Fri, 22 January 2021 16:38 UTC

Return-Path: <noreply@github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 12D6A3A1360 for <quic-issues@ietfa.amsl.com>; Fri, 22 Jan 2021 08:38:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.349
X-Spam-Level:
X-Spam-Status: No, score=-3.349 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.25, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=github.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LDQJ3mv8QO1x for <quic-issues@ietfa.amsl.com>; Fri, 22 Jan 2021 08:38:23 -0800 (PST)
Received: from smtp.github.com (out-21.smtp.github.com [192.30.252.204]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6B9363A1363 for <quic-issues@ietf.org>; Fri, 22 Jan 2021 08:38:23 -0800 (PST)
Received: from github.com (hubbernetes-node-cb187b4.ac4-iad.github.net [10.52.18.58]) by smtp.github.com (Postfix) with ESMTPA id 95D57520EA2 for <quic-issues@ietf.org>; Fri, 22 Jan 2021 08:38:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1611333502; bh=lbpVZomZ+acjS+aR1+31E3v8eV5nPOEer5zAHOAbbOU=; h=Date:From:Reply-To:To:Cc:Subject:List-ID:List-Archive:List-Post: List-Unsubscribe:From; b=V86TIiMy1OGifkwCq1eW1c33jb3TjoZLZG3ZNVLqo9Skbis9vam4UxAwBHSTZgMpj af2iuDDcRdKN3Chriq/l2JmEvz8Vu4cGsf8LN/dPmgtNWhzAIYio4xN8DkgwoTsSrv EPDz+hq/juTm+/fcsDVZKQxrrqSQZSAO2/nj5uL4=
Date: Fri, 22 Jan 2021 08:38:22 -0800
From: Lucas Pardue <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+AFTOJKYVOFGWYJSGUYI2PZ56C3QH5EVBNHHC6NZT7I@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/4809@github.com>
Subject: [quicwg/base-drafts] Possible ambiguity for Handling Reserved HTTP/2 Settings parameters type values (#4809)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_600aff7e934a3_571a0411590"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: LPardue
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/nikYY58IlFce4BEB6rkagYNhkfI>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 22 Jan 2021 16:38:25 -0000

https://tools.ietf.org/html/draft-ietf-quic-http-33#section-7.2.4.1 says:

>    Setting identifiers which were used in HTTP/2 where there is no
>    corresponding HTTP/3 setting have also been reserved
>    (Section 11.2.2).  These settings MUST NOT be sent, and their receipt
>    MUST be treated as a connection error of type H3_SETTINGS_ERROR.

The table of defined HTTP/3 settings is in https://tools.ietf.org/html/draft-ietf-quic-http-33#section-11.2.2

```
  +========================+=======+=================+===========+
     | Setting Name           | Value | Specification   | Default   |
     +========================+=======+=================+===========+
     | Reserved               |  0x2  | N/A             | N/A       |
     +------------------------+-------+-----------------+-----------+
     | Reserved               |  0x3  | N/A             | N/A       |
     +------------------------+-------+-----------------+-----------+
     | Reserved               |  0x4  | N/A             | N/A       |
     +------------------------+-------+-----------------+-----------+
     | Reserved               |  0x5  | N/A             | N/A       |
     +------------------------+-------+-----------------+-----------+
     | MAX_FIELD_SECTION_SIZE |  0x6  | Section 7.2.4.1 | Unlimited |
     +------------------------+-------+-----------------+-----------+
 ```

The [HTTP/2 settings IANA registry](https://www.iana.org/assignments/http2-parameters/http2-parameters.xhtml#settings) diverges a little bit from everything that is stated in RFC 7540. `0x0` is stated as reserved in IANA but no mention of it in RFC 7540. Therefore it is ambiguous if an HTTP/3 implementation should reject this Type value.

The range `0xf000-0xffff` is reserved for HTTP/2 experimental use. Its not clear if I should reject those too.

IANA also includes some extension settings: `0x8` (RFC 8441), 0x10 (MS-HTTP2E). I might expect `0x8` to be reused by some extension that defines Websocket over H3. `0x10` seems like something that is not reusable?

And finally, we have Extensible Priorities that defines SETTINGS_DEPRECATE_HTTP2_PRIORITIES and wants to claim `0x9`. I don't expect any need to also define that in HTTP/3 settings, unless the purpose is to prohibit it.

In summary, I don't think there is a huge problem. Maybe we can editorialize our way out of the ambiguity. However, I'd really like to avoid H/3 connections instantly failing due to implementations disagreeing about this rejection requirement.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/quicwg/base-drafts/issues/4809