Re: Stream State and PRIORITY Frames

Patrick McManus <mcmanus@ducksong.com> Thu, 19 January 2017 15:58 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 73A69129623 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jan 2017 07:58:44 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=sendgrid.me
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 wenf2Y2SzkZM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 19 Jan 2017 07:58:43 -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 DE5431296F8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 19 Jan 2017 07:58:34 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1cUF4p-0002vD-O2 for ietf-http-wg-dist@listhub.w3.org; Thu, 19 Jan 2017 15:56:39 +0000
Resent-Date: Thu, 19 Jan 2017 15:56:39 +0000
Resent-Message-Id: <E1cUF4p-0002vD-O2@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net>) id 1cUF4l-0002uF-Qs for ietf-http-wg@listhub.w3.org; Thu, 19 Jan 2017 15:56:35 +0000
Received: from o1.7nn.fshared.sendgrid.net ([167.89.55.65]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net>) id 1cUF4f-00007a-Mf for ietf-http-wg@w3.org; Thu, 19 Jan 2017 15:56:30 +0000
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sendgrid.me; h=mime-version:in-reply-to:references:from:subject:to:cc:content-type; s=smtpapi; bh=YRJqTPVcWXY2VDAYKaZKjwBGjIQ=; b=UNGVj7qb0+dqC6jcAu G0r2WbafF8plmKiu7wfQvOLxAIEcLYzsiI7fGzqqy6T0uNcArX89sGqSnTeohUf5 i3Uf+qZ3fjs4BNEJYcWOfcEiAyVeZL0FEk2Ls+WqMCkWA256TdlIvhDJ65/gVOSL kL/QXlrPF5gmPVrK1x7aO0/Ps=
Received: by filter1087p1mdw1.sendgrid.net with SMTP id filter1087p1mdw1-15314-5880E18E-68 2017-01-19 15:55:58.976418898 +0000 UTC
Received: from mail-yw0-f175.google.com (mail-yw0-f175.google.com [209.85.161.175]) by ismtpd0005p1iad1.sendgrid.net (SG) with ESMTP id uQvpVhG4RMu-FI5uYE_rPQ for <ietf-http-wg@w3.org>; Thu, 19 Jan 2017 15:55:58.974 +0000 (UTC)
Received: by mail-yw0-f175.google.com with SMTP id v200so38136220ywc.3 for <ietf-http-wg@w3.org>; Thu, 19 Jan 2017 07:55:58 -0800 (PST)
X-Gm-Message-State: AIkVDXIj/+KAxnkqbI1W4P5/3lQeMO+lJ7wg6o2rwg6Ka1A6yGxZC+dTXeagnsVtSd5Un0Ex96q13CwNuoT5Nw==
X-Received: by 10.55.192.137 with SMTP id v9mr8252106qkv.305.1484841358467; Thu, 19 Jan 2017 07:55:58 -0800 (PST)
MIME-Version: 1.0
Received: by 10.12.162.65 with HTTP; Thu, 19 Jan 2017 07:55:57 -0800 (PST)
In-Reply-To: <CAFn2buAE-EdTEG9x-wLQSy5Osmcq1Hdps9YLW_7j9CTV4_Fuyw@mail.gmail.com>
References: <CAFn2buAYWHQSWhhoKZ2GKbqXR1A+tScjkAwZmOuQ9gV9jMp2bA@mail.gmail.com> <CAGZNdJWe0Y=M_SWmgYabKbWZwPEuJdw67Km8+UtR4oUtZuXA5A@mail.gmail.com> <2BC01E49-91A1-43A7-AFD0-5A34F2689428@lukasa.co.uk> <CAFn2buDCMwMp=rR0C_yt4-gUwyFhY6ruonz9wT-jVMu+Kir=nA@mail.gmail.com> <C51C3F51-37BE-489F-BA1D-76B101517307@lukasa.co.uk> <CAFn2buAE-EdTEG9x-wLQSy5Osmcq1Hdps9YLW_7j9CTV4_Fuyw@mail.gmail.com>
From: Patrick McManus <mcmanus@ducksong.com>
Date: Thu, 19 Jan 2017 10:55:57 -0500
X-Gmail-Original-Message-ID: <CAOdDvNo1mvmvXjeYtUiNahzYJa1gr3N88BGJpyduYGwUB7oP-A@mail.gmail.com>
Message-ID: <CAOdDvNo1mvmvXjeYtUiNahzYJa1gr3N88BGJpyduYGwUB7oP-A@mail.gmail.com>
To: Scott Mitchell <scott.k.mitch1@gmail.com>
Cc: Cory Benfield <cory@lukasa.co.uk>, Benedikt Christoph Wolters <benedikt.wolters@rwth-aachen.de>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a1149a8c2b82b9d054674911b"
X-SG-EID: YLWet4rakcOTMHWvPPwWbcsiUJbN1FCn0PHYd/Uujh6R5oWt0OnW0Zisr1X+42dPqY+kM4y6TOFSzS lbpI4tgx+RUpxedfj+NcoegYN9irLnL0TL+ADhpcdP4f0wx/TAKleykefNWBVQ/dWB+VkraMQ9JHrk 8Xzg70MqR1h/t5KVht90c6WBNtWI88AplCf7TnxzO5GW95GJ0HWiHY1iMM7mRrQWweUmBieG3s9Dv+ w=
Received-SPF: pass client-ip=167.89.55.65; envelope-from=bounces+1568871-208f-ietf-http-wg=w3.org@sendgrid.net; helo=o1.7nn.fshared.sendgrid.net
X-W3C-Hub-Spam-Status: No, score=-7.5
X-W3C-Hub-Spam-Report: AWL=1.273, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1.156, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-3.199, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1cUF4f-00007a-Mf 2b0939092e2cb7193f372326e0cd42ba
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Stream State and PRIORITY Frames
Archived-At: <http://www.w3.org/mid/CAOdDvNo1mvmvXjeYtUiNahzYJa1gr3N88BGJpyduYGwUB7oP-A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33329
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 Wed, Jan 18, 2017 at 7:53 PM, Scott Mitchell <scott.k.mitch1@gmail.com>
wrote:

>
>
> Based on the RFC it seems like stream ids {3, 5, 7, 11} should be closed
> at step (6). Note that FF is not doing anything wrong here. It shouldn't
> have to care that the streams are CLOSED in this scenario (assuming these
> streams only ever have PRIORITY frames exchanged). It would be interesting
> to get a FF dev to comment on the expected stream state here just to be
> sure these streams will only be used for PRIORITY.
>

Yes, they are grouping nodes and serve no other purpose. I personally
believe they are in the idle state, but I know some people believe they are
closed with a priority attached. That doesn't seem to matter in practice.


> Either way maintaining/interpreting the priority is at the discretion of
> the server and these streams being closed does not impact the server's
> ability to do this (as discussed previously the RFC suggests retaining
> priority for closed streams).
>
>

So yes, and no. Certainly the server is in compliance in just ignoring
everything it knows about priority indications from the client. OTOH,
things can get very very screwed performance wise if dependencies are
disregarded and the state of priority is just determined by the local
weights on each stream. I've seen servers do this and create terrible
results.