Re: Stream State and PRIORITY Frames

Daurnimator <quae@daurnimator.com> Wed, 18 January 2017 00:37 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 B015E1293DC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jan 2017 16:37:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.22
X-Spam-Level:
X-Spam-Status: No, score=-10.22 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, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 (1024-bit key) header.d=daurnimator.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 WfiesBzsQ_qt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 17 Jan 2017 16:37:44 -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 4AAC8127A90 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 17 Jan 2017 16:37:44 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1cTeDJ-0003It-TE for ietf-http-wg-dist@listhub.w3.org; Wed, 18 Jan 2017 00:34:57 +0000
Resent-Date: Wed, 18 Jan 2017 00:34:57 +0000
Resent-Message-Id: <E1cTeDJ-0003It-TE@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 <quae@daurnimator.com>) id 1cTeDF-0003I7-5v for ietf-http-wg@listhub.w3.org; Wed, 18 Jan 2017 00:34:53 +0000
Received: from mail-lf0-f51.google.com ([209.85.215.51]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <quae@daurnimator.com>) id 1cTeD9-0000K0-5x for ietf-http-wg@w3.org; Wed, 18 Jan 2017 00:34:47 +0000
Received: by mail-lf0-f51.google.com with SMTP id k86so121088411lfi.0 for <ietf-http-wg@w3.org>; Tue, 17 Jan 2017 16:34:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daurnimator.com; s=daurnimator; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=idJ6VLqCyJm4ZZLMd7IwThNmBakIKcZKdYaiCCnB2VE=; b=FsUU8gmJ3NAqsTCjrC/KCHXRiTeEfCX49cVaDPfbMKyw+YhAclUHVHy/TQpiRUw0Oj 1RcAIojtNJeKvF6JsIYej5C423spjrAdaR114YYZEPnhkGBSsCNFhH8qnEfWWde8F7bU AsgaQcNuttCSfyRyVGhJi1vWoRCfmpAUL2fz8=
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=idJ6VLqCyJm4ZZLMd7IwThNmBakIKcZKdYaiCCnB2VE=; b=c3409vQ2CB8ivTqPh89aDt/MTxNREXourcZkqqyEhOQ0HYjPz73IDvw95yErjQznT+ z/a7fTeB180pi6GoFhaNOChAaRf4Ydy9QSI9iPJqaDJdA0PmzvBLKGySr2jhuYPn0y7J EqB5Wcl/n7UBc41x/xtzY6p9Yj0tIdgkZ2kvrmn7ugV0DNmP/eRZor+W30gKbpmCZrsO rc5SVoEPFKLydeRbCMXqXfXOQJFCV4FKVrQOXEZcg+Z5LyHqVyJJU/XEF/eHxXUYkIQJ /CHYk238XfBlnRNFG4jew2X3sybx0B8+X/TU+1SG3gJmRSe6r05FJAIx6Q+Ytrx50lQi kI9A==
X-Gm-Message-State: AIkVDXKRA7OHNK3lhf5soOdhDGWVDgjMGXgjVcQa4/180jbXBHrzgPd09QMBP6ZyjhSFnw==
X-Received: by 10.25.67.84 with SMTP id m20mr138667lfj.106.1484699660023; Tue, 17 Jan 2017 16:34:20 -0800 (PST)
Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com. [209.85.215.44]) by smtp.gmail.com with ESMTPSA id r27sm1921982ljd.14.2017.01.17.16.34.18 for <ietf-http-wg@w3.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Jan 2017 16:34:18 -0800 (PST)
Received: by mail-lf0-f44.google.com with SMTP id z134so117815089lff.3 for <ietf-http-wg@w3.org>; Tue, 17 Jan 2017 16:34:18 -0800 (PST)
X-Received: by 10.25.242.79 with SMTP id d15mr143364lfk.22.1484699658324; Tue, 17 Jan 2017 16:34:18 -0800 (PST)
MIME-Version: 1.0
Received: by 10.25.156.83 with HTTP; Tue, 17 Jan 2017 16:34:17 -0800 (PST)
In-Reply-To: <CABkgnnWmPdDXVS+CvmChRjyqkJooSKgy6KdUdN+9nGzOyJazhg@mail.gmail.com>
References: <CAFn2buAYWHQSWhhoKZ2GKbqXR1A+tScjkAwZmOuQ9gV9jMp2bA@mail.gmail.com> <CAPyZ6=Kh3n+RJi=RqgFBojgRDpfJ=nbr0i4kvO20ET0Kt7UA8Q@mail.gmail.com> <CABkgnnWmPdDXVS+CvmChRjyqkJooSKgy6KdUdN+9nGzOyJazhg@mail.gmail.com>
From: Daurnimator <quae@daurnimator.com>
Date: Wed, 18 Jan 2017 11:34:17 +1100
X-Gmail-Original-Message-ID: <CAEnbY+chsRPsR1HKABmr9n8XgvAMEqUiTrdBqeK26ptwDc3B4w@mail.gmail.com>
Message-ID: <CAEnbY+chsRPsR1HKABmr9n8XgvAMEqUiTrdBqeK26ptwDc3B4w@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>, Scott Mitchell <scott.k.mitch1@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: none client-ip=209.85.215.51; envelope-from=quae@daurnimator.com; helo=mail-lf0-f51.google.com
X-W3C-Hub-Spam-Status: No, score=-5.3
X-W3C-Hub-Spam-Report: AWL=-1.302, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1cTeD9-0000K0-5x e5b8f38d4883e79f6f84e2e932deb90d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Stream State and PRIORITY Frames
Archived-At: <http://www.w3.org/mid/CAEnbY+chsRPsR1HKABmr9n8XgvAMEqUiTrdBqeK26ptwDc3B4w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33313
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 18 January 2017 at 09:27, Martin Thomson <martin.thomson@gmail.com> wrote:
> On 18 January 2017 at 01:37, Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> wrote:
>> If my understanding is correct, this only refers to the new stream ID used
>> by HEADERS, and PUSH_PROMISE frames which open or reserve streams.  The
>> example text following that statement uses HEADERS which opens new stream.
>> PRIORITY frame does not change stream state, and there is no reason to close
>> all unused streams lower than bearing stream ID.  That said, I agree that
>> this is not crystal clear in the document.  In practice, this is probably
>> rather rare case.
>
> This is, I think, the expectation.
>
> I think that we probably want to clarify the point by explicitly
> saying that PRIORITY doesn't affect stream states.  We say that it can
> be sent in any state, but we don't also mention that important point.
> Do people here agree that an erratum on this point is appropriate
> here?

Yes. I recently ran into this issue myself
https://github.com/daurnimator/lua-http/issues/63