[quicwg/base-drafts] [HTTP3] Clarify reserved values. (#3610)

Bence Béky <notifications@github.com> Wed, 29 April 2020 18:17 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 []) by ietfa.amsl.com (Postfix) with ESMTP id 159663A15CA for <quic-issues@ietfa.amsl.com>; Wed, 29 Apr 2020 11:17:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.918
X-Spam-Status: No, score=-3.918 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_IMAGE_ONLY_32=0.001, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H2=-0.82, 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 ([]) by localhost (ietfa.amsl.com []) (amavisd-new, port 10024) with ESMTP id 1npJbs1d6LkK for <quic-issues@ietfa.amsl.com>; Wed, 29 Apr 2020 11:17:02 -0700 (PDT)
Received: from out-20.smtp.github.com (out-20.smtp.github.com []) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 59E113A15C8 for <quic-issues@ietf.org>; Wed, 29 Apr 2020 11:17:02 -0700 (PDT)
Received: from github-lowworker-c53a806.ac4-iad.github.net (github-lowworker-c53a806.ac4-iad.github.net []) by smtp.github.com (Postfix) with ESMTP id 79D788C0057 for <quic-issues@ietf.org>; Wed, 29 Apr 2020 11:17:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1588184221; bh=hehxydIY+Bvxp/EiedTS1AGNNBtoiOGOEtoh3fBv0DU=; h=Date:From:Reply-To:To:Cc:Subject:List-ID:List-Archive:List-Post: List-Unsubscribe:From; b=mkbMRpwFTK17GS7JexAHeasS9vVpAa9FPxnApzogSpZcNPQ/Lxc/qWT8CTuKrxMAY j/vTFDkvREJXJKNLIbleD0LjhyhBuU5abi41wSMKry664huoGjOHbISUQfESGDMG0e I7TmUTu1WXesOSQsR0yZeOsBjqOCRvonfnDMmgbg=
Date: Wed, 29 Apr 2020 11:17:01 -0700
From: Bence Béky <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+AFTOJK6Q72VOC3S6UZZTJUV4WWSZ3EVBNHHCIUEM6M@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/3610@github.com>
Subject: [quicwg/base-drafts] [HTTP3] Clarify reserved values. (#3610)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5ea9c49d6a7c0_52103fbc6accd95c6325f7"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: bencebeky
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/Y8khY1EmfLwCovFCtjadS2S3tuk>
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: Wed, 29 Apr 2020 18:17:07 -0000

Clarify reserved values for stream types, settings identifiers, frame
types, and error codes.

0x1f * N + 0x21 for the value of N = -1 is 0x02.  Literal interpretation
of the current text includes this as a reserved value.  The
parenthetical examples given in Section 11.2 make it clear that this was
not the intention, rendering this PR editorial.

The main motivation of this PR is not that the current text is
inconsistent, but that parenthetical examples from 11.2 are necessary to
correctly interpret the definitions in sections 6.2.3,, 7.2.8,
and 8.1.

Alternative wordings could be:
&quot;0x1f * N + 0x21 for N = 0, 1, 2, ...&quot;
&quot;0x1f * N + 0x02 for positive integer values of N&quot;
&quot;0x1f * N + 0x02 for N = 1, 2, 3, ...&quot;
&quot;0x21, 0x21 + 0x1f, 0x21 + 2 * 0x1f, ...&quot;
&quot;a value of at least 0x21 with a remainder of 0x02 modulo 0x1f&quot;
&quot;a value of at least 0x21 that is congruent to 0x21 modulo 0x1f&quot;
none of which is better than what this PR proposes.
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * Clarify reserved values.

-- File Changes --

    M draft-ietf-quic-http.md (59)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub: