Re: Proposed text for erratum on PRIORITY in RFC 7540

Scott Mitchell <scott.k.mitch1@gmail.com> Fri, 20 January 2017 17:18 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CAF29129476 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jan 2017 09:18:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.699
X-Spam-Level:
X-Spam-Status: No, score=-9.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-3.199, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 p7bemgAK_IWZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 20 Jan 2017 09:18:52 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5B6A5129452 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 20 Jan 2017 09:18:52 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1cUcnZ-0005O6-7b for ietf-http-wg-dist@listhub.w3.org; Fri, 20 Jan 2017 17:16:25 +0000
Resent-Date: Fri, 20 Jan 2017 17:16:25 +0000
Resent-Message-Id: <E1cUcnZ-0005O6-7b@frink.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <scott.k.mitch1@gmail.com>) id 1cUcnV-0005NG-Cq for ietf-http-wg@listhub.w3.org; Fri, 20 Jan 2017 17:16:21 +0000
Received: from mail-lf0-f45.google.com ([209.85.215.45]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <scott.k.mitch1@gmail.com>) id 1cUcnP-0005aX-4N for ietf-http-wg@w3.org; Fri, 20 Jan 2017 17:16:16 +0000
Received: by mail-lf0-f45.google.com with SMTP id n124so61981789lfd.2 for <ietf-http-wg@w3.org>; Fri, 20 Jan 2017 09:15:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=RAFth9BR6mKPDuDnILG6HcroWQ2oR23ijgZ9yXAiSXg=; b=Ej7aeSPhjzRbEmv+cs9OfH6EKGlyArQeTILOaV0sAVJ5r+rCOadUL+68wBtZQQsAya uZgYaxcla7lSLHINWETHsP+RsqSMMWbktAbEyzOEJMCBWm7Rn7UA4Ipr85k0DHE06Isf qvwsEHV2+4mkXlYknn3y7YFTsW+BUCa4tMiMoFEIfga+xTGedjI0GGa1dqhTN/FrqPnL d5xdu0c0wy316kxDYl2TN47ifgAy9eI+z65XVGnRK6rGaNGafsdkLdCDzj1ZCxeZdwue 2KwhZuiVjMdE8KzQ/a1n6+oiiNEBWdVBW2J7pEChVBC7o5QvOGEAdCoCQBz5jiP+Xbgp jWiw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=RAFth9BR6mKPDuDnILG6HcroWQ2oR23ijgZ9yXAiSXg=; b=IWKUAsLss1eao9BBPhY4O+6/HsX2JpuXhtVXjdIRzCksSAA62xYXB9Yoh+B3lQrVRc 9kE6u1Ih2n4hWyvb4YecplPvo+vK2FZLp7RvejCjqiOq6DfEkFD1/3AhR637TWIla2G8 eQRWKVoBYzuRKt60mAXcETZkkugkRP+fGNDDu2ongRXid5dzpZ4iZI/xM45bR75o7Tkq 0ACUfT7eCpryEEvVUPew5WViNXiemv7g3d5pBEtkPVDSVINTCgv9Lhke2ux9nPbkCQeb 0hJHxZWeF1s4s/7lRgc0h9ICpch5DCvRmbwX01kLmyzvlYkAFB9kwgAuNXzEASEGeA1P HT8g==
X-Gm-Message-State: AIkVDXKvl0bw8BBBRWeXOGerocpZ2Fx8XuH5Il0PNuCfYC+JBecw2DPAGbM7qN/ygMZJ2wgN7Y2e/bPgkuDMnw==
X-Received: by 10.25.217.17 with SMTP id q17mr4625847lfg.178.1484932548127; Fri, 20 Jan 2017 09:15:48 -0800 (PST)
MIME-Version: 1.0
Received: by 10.25.18.200 with HTTP; Fri, 20 Jan 2017 09:15:47 -0800 (PST)
In-Reply-To: <CABkgnnV4FG01J5CwdjG_gnCWvoyaT80ZBd3R41TopuWuKEAm5A@mail.gmail.com>
References: <CABkgnnV4FG01J5CwdjG_gnCWvoyaT80ZBd3R41TopuWuKEAm5A@mail.gmail.com>
From: Scott Mitchell <scott.k.mitch1@gmail.com>
Date: Fri, 20 Jan 2017 09:15:47 -0800
Message-ID: <CAFn2buDd_zomeD6GehWN6r=0wey1aEQfJcfjAjEPjr0S390xrA@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="94eb2c06391a0bf3c2054689cd30"
Received-SPF: pass client-ip=209.85.215.45; envelope-from=scott.k.mitch1@gmail.com; helo=mail-lf0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.5
X-W3C-Hub-Spam-Report: AWL=0.732, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1cUcnP-0005aX-4N ebf467d11cf7945b6e31e811b1db62ca
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Proposed text for erratum on PRIORITY in RFC 7540
Archived-At: <http://www.w3.org/mid/CAFn2buDd_zomeD6GehWN6r=0wey1aEQfJcfjAjEPjr0S390xrA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33347
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On Thu, Jan 19, 2017 at 7:59 PM, Martin Thomson <martin.thomson@gmail.com>
wrote:

> I figure that I might try to nut this out here before opening an
> erratum.  It's not clear from the thread that we all understand this.
>
> I think that suggesting two additions is the right thing here.  It's
> an erratum, so we don't have to do a proper edit, we can leave that
> for some future revision of the spec to get precisely right.
>
> In Section 5.3 (Stream Priority) a new paragraph:
>
> > The information that an endpoint maintains for stream priority is
> separate from other state. Importantly, this includes stream states
> (Section 5.1).  A stream in any state can have its priority changed with a
> PRIORITY frame. The state of a stream is not changed as a result of
> changing its priority.  The number of streams for which state is remembered
> is at the discretion of an endpoint, see Section 5.3.4 for details.
>
> In Section 6.4 (PRIORITY) a new sentence at the end of the first paragraph:
>
>
Section 6.3? Section 6.4 is RST_STREAM right?


> > Sending or receiving a PRIORITY frame does not affect the state of the
> identified stream (Section 5.1), only its priority is altered.
>
>
The bit I think needs clarification is that a PRIORITY frame doesn't impact
state of ANY stream (if this is the intention of the RFC). The ambiguity
comes from the language "first use of a new stream identifier" in section
5.1.1 (see below). Is it possible to directly resolve this issue?  Updating
other sections is great, but this creates an implicit dependency between
different sections which leaves room for error.

https://tools.ietf.org/html/rfc7540#section-5.1.1
> The first use of a new stream identifier implicitly closes all streams in
the "idle" state that might have been initiated by that peer with a
lower-valued stream identifier.


> I think that we only really need one piece of clarification (the
> second would be enough), but it doesn't hurt to make it clear in both
> places that one might go to learn this.