Re: Stream State and PRIORITY Frames

Patrick McManus <pmcmanus@mozilla.com> Thu, 19 January 2017 15:55 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 CAC131296F7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jan 2017 07:55:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.619
X-Spam-Level:
X-Spam-Status: No, score=-9.619 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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
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 2e3RmkGqxub2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jan 2017 07:55:03 -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 12A6312942F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jan 2017 07:54:37 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1cUF06-0000RJ-Ah for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jan 2017 15:51:46 +0000
Resent-Date: Thu, 19 Jan 2017 15:51:46 +0000
Resent-Message-Id: <E1cUF06-0000RJ-Ah@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 <pmcmanus@mozilla.com>) id 1cUF01-0000Q9-IR for ietf-http-wg@listhub.w3.org; Thu, 19 Jan 2017 15:51:41 +0000
Received: from www.ducksong.com ([192.155.95.102] helo=linode64.ducksong.com) by mimas.w3.org with esmtp (Exim 4.84_2) (envelope-from <pmcmanus@mozilla.com>) id 1cUEzv-0006pA-Ec for ietf-http-wg@w3.org; Thu, 19 Jan 2017 15:51:36 +0000
Received: from mail-yw0-f170.google.com (mail-yw0-f170.google.com [209.85.161.170]) by linode64.ducksong.com (Postfix) with ESMTPSA id 8BFDA3A0A9 for <ietf-http-wg@w3.org>; Thu, 19 Jan 2017 10:51:12 -0500 (EST)
Received: by mail-yw0-f170.google.com with SMTP id l75so37930161ywb.0 for <ietf-http-wg@w3.org>; Thu, 19 Jan 2017 07:51:12 -0800 (PST)
X-Gm-Message-State: AIkVDXK5tUEs8gUOs9W6GdIwiPYOh1jtbaDV2EjiVQSbs5rB29sxrWsvSHRWEtqp17SVHsqQPI09kOSfVOsz7A==
X-Received: by 10.55.43.158 with SMTP id r30mr9434408qkr.28.1484841072369; Thu, 19 Jan 2017 07:51:12 -0800 (PST)
MIME-Version: 1.0
Received: by 10.12.162.65 with HTTP; Thu, 19 Jan 2017 07:51:11 -0800 (PST)
In-Reply-To: <CAPyZ6=Kh3n+RJi=RqgFBojgRDpfJ=nbr0i4kvO20ET0Kt7UA8Q@mail.gmail.com>
References: <CAFn2buAYWHQSWhhoKZ2GKbqXR1A+tScjkAwZmOuQ9gV9jMp2bA@mail.gmail.com> <CAPyZ6=Kh3n+RJi=RqgFBojgRDpfJ=nbr0i4kvO20ET0Kt7UA8Q@mail.gmail.com>
From: Patrick McManus <pmcmanus@mozilla.com>
Date: Thu, 19 Jan 2017 10:51:11 -0500
X-Gmail-Original-Message-ID: <CAOdDvNow33s0423M_j8j6Nr-PMZV-LjTgPpQguTRtuk5uM3vUg@mail.gmail.com>
Message-ID: <CAOdDvNow33s0423M_j8j6Nr-PMZV-LjTgPpQguTRtuk5uM3vUg@mail.gmail.com>
To: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Cc: Scott Mitchell <scott.k.mitch1@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a1149430eaaadb90546748089"
Received-SPF: softfail client-ip=192.155.95.102; envelope-from=pmcmanus@mozilla.com; helo=linode64.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-1.617, BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_SORBS_SPAM=0.5, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1cUEzv-0006pA-Ec 38fc9e7fab02a320226fc311a2d5170b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Stream State and PRIORITY Frames
Archived-At: <http://www.w3.org/mid/CAOdDvNow33s0423M_j8j6Nr-PMZV-LjTgPpQguTRtuk5uM3vUg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33325
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 Tue, Jan 17, 2017 at 7:37 AM, Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
wrote:

>
> ​
> ​I think Option 1 is the expected result.
>
>
>> [1] 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.
>>
>>
> ​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.
>
>
> I believe that is correct.


>
>
>
>