Re: [Editorial Errata Reported] RFC7540 (4871)
Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> Wed, 30 November 2016 13:54 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 00F79129598 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 30 Nov 2016 05:54:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.997
X-Spam-Level:
X-Spam-Status: No, score=-7.997 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=-1.497, 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 o93dK5xtLHME for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 30 Nov 2016 05:54:32 -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 F3262129585 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 30 Nov 2016 05:54:31 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1cC5HZ-0000Vw-UG for ietf-http-wg-dist@listhub.w3.org; Wed, 30 Nov 2016 13:50:45 +0000
Resent-Date: Wed, 30 Nov 2016 13:50:45 +0000
Resent-Message-Id: <E1cC5HZ-0000Vw-UG@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 <tatsuhiro.t@gmail.com>) id 1cC5HT-0000Sq-9J for ietf-http-wg@listhub.w3.org; Wed, 30 Nov 2016 13:50:39 +0000
Received: from mail-qt0-f193.google.com ([209.85.216.193]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <tatsuhiro.t@gmail.com>) id 1cC5HM-0006Tl-J8 for ietf-http-wg@w3.org; Wed, 30 Nov 2016 13:50:34 +0000
Received: by mail-qt0-f193.google.com with SMTP id m48so19584355qta.2 for <ietf-http-wg@w3.org>; Wed, 30 Nov 2016 05:50:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=L+Z3LF0bUl7jJWdHtikMEWv/Fvvbj9/UenxnikbET/A=; b=dU+Ixmpx1aZODDpRVrwYJNSkLHUwO6IoJJXKfCHw3PVnZTg8yCPoxXcZRhFav6E3gI FNH6i0+etMsT7JV7lzdL33HearGOega2/l+ddUcMzCXcWr9RLiQdXhnxuhoc50WH3AWL 1IK/tjEp93HHhWX8Nc/esLQKUz6sIW6ZFDPZL/EpGUeipUOn4MYQIdRpnhnbyJxzln0l NIKA7i0NEuVZ+ZVXz/qSfFMa1kQR4JWsgMhEF4xGAc0sv+1LlS11fr3funxgwemEv0bE 5JP8s00J3orTGQZ8EY/+G6/XgWLnyJpR9WYPqC82UkeThs7579BgktPtz2ZwQCn8MhXe +r8g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=L+Z3LF0bUl7jJWdHtikMEWv/Fvvbj9/UenxnikbET/A=; b=GV2GknnuAsRobk3ga6khcRi29VWsD3NYXLcI6rZ7NzGzluvG5L+Y4xZCYO83pMCDYH jo2V0t+q2SnIj0Bmso0YyjiA7v1V7P5VNe8MkNyhSDhXAC3aq89G6HgtB2tgCgt5S3ek UAFK7LxqFPZNG1w1cHzdGLylmMeaC/DpQqUyFXEkMHGRj1mveD4mEHpJos2ZWaq83oBC XU+6Stn3yMELFOQif7naIadiQurVVX5kxP+v1wHLS9jRpK5Em9lx58LrJUDzQXOpEJWe QE7uT904QhmCp7R6t2K3V9SD5axuGXJhDpd0hlw9JNO6Yr89Et5cJcW9KZhEg7xNt8Hi APEQ==
X-Gm-Message-State: AKaTC02OWeGHNej0xs+D5kzGuJo2G2eYaopUMv0irRU+o+3/RLF2PKs1TkGD621fx1HjCJy9268Xi8qTNe7cMA==
X-Received: by 10.200.51.171 with SMTP id c40mr28274601qtb.131.1480513806056; Wed, 30 Nov 2016 05:50:06 -0800 (PST)
MIME-Version: 1.0
Received: by 10.12.145.236 with HTTP; Wed, 30 Nov 2016 05:49:45 -0800 (PST)
In-Reply-To: <CANatvzygQViXZy0bxLzm3GK3KmVgT2qgSHio8V+3USDOYWxEGQ@mail.gmail.com>
References: <20161130043354.C786DB81319@rfc-editor.org> <1102C272-E8D6-40D3-9D39-7D4801ABD286@lukasa.co.uk> <CABkgnnXYTi0uv=Dm7zPrA=oPam+Zyka-jujFT2bU8GvqvT5JPg@mail.gmail.com> <03C57CE4-E61A-4BF6-A976-2191EB4B127C@lukasa.co.uk> <CANatvzzQZ_isxmd3Ne41QxE2s-sYsrksME+T0RtchM-K1b0DwA@mail.gmail.com> <24141783-A04A-42AD-9730-EB5C91A36516@lukasa.co.uk> <CANatvzygQViXZy0bxLzm3GK3KmVgT2qgSHio8V+3USDOYWxEGQ@mail.gmail.com>
From: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Date: Wed, 30 Nov 2016 22:49:45 +0900
Message-ID: <CAPyZ6=KWvn8fMiOab5R_yMedovwo=c2QnGkewuAjKYBxO-5jrQ@mail.gmail.com>
To: Kazuho Oku <kazuhooku@gmail.com>
Cc: Cory Benfield <cory@lukasa.co.uk>, Martin Thomson <martin.thomson@gmail.com>, RFC Errata System <rfc-editor@rfc-editor.org>, Mike Belshe <mike@belshe.com>, Roberto Peon <fenix@google.com>, Ben Campbell <ben@nostrum.com>, Alissa Cooper <alissa@cooperw.in>, Alexey Melnikov <aamelnikov@fastmail.fm>, Patrick McManus <pmcmanus@mozilla.com>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a1137be7c7ec2c9054284fbe7"
Received-SPF: pass client-ip=209.85.216.193; envelope-from=tatsuhiro.t@gmail.com; helo=mail-qt0-f193.google.com
X-W3C-Hub-Spam-Status: No, score=-4.9
X-W3C-Hub-Spam-Report: AWL=-1.365, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 1cC5HM-0006Tl-J8 97053df786740d2f871fd24cf2f4851d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [Editorial Errata Reported] RFC7540 (4871)
Archived-At: <http://www.w3.org/mid/CAPyZ6=KWvn8fMiOab5R_yMedovwo=c2QnGkewuAjKYBxO-5jrQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33047
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, Nov 30, 2016 at 10:29 PM, Kazuho Oku <kazuhooku@gmail.com> wrote: > 2016-11-30 22:05 GMT+09:00 Cory Benfield <cory@lukasa.co.uk>: > > > > > > On 30 Nov 2016, at 13:04, Kazuho Oku <kazuhooku@gmail.com> wrote: > > > > My understanding is that you do not need to distinguish between > completed, idle and blocked states. > > > > For a stream under either of the three states, the weight associated to > the stream is distributed to the dependents. > > > > That is what nghttp2 does and H2O does (except for the fact that it does > not remember closed streams), and I this behavior is what is suggested by > the spec. > > > > > > My understanding of what Martin is suggesting is that that isn’t true: > blocked streams do not distribute their weight to their dependants. > > > Thank you for pointing that out. > > My understanding is that there is no special casing for blocked > streams. Section 5.3.1 handles all the states we are discussing > equally, quote: > > Inside the dependency tree, a dependent stream SHOULD only be > allocated resources if either all of the streams that it depends on > (the chain of parent streams up to 0x0) are closed or it is not > possible to make progress on them. > > I also do not see why it would be beneficial to treat them differently. > > I agree with Kazuho. I think RFC 7540 is written based on the idea that dependent stream can receive resource if the streams between it and root are all either in closed, idle or blocked. Actually, from nghttp2 commit log, I made a commit which implemented the proposed text. But we later reverted it, since there is no text in the draft at that time to mandate that behaviour. Best regards, Tatsuhiro Tsujikawa > > > > However, that’s also what the Python Priority implementation does. > > > > Cory > > > > > > -- > Kazuho Oku > >
- [Editorial Errata Reported] RFC7540 (4871) RFC Errata System
- Re: [Editorial Errata Reported] RFC7540 (4871) Cory Benfield
- Re: [Editorial Errata Reported] RFC7540 (4871) Martin Thomson
- Re: [Editorial Errata Reported] RFC7540 (4871) Benedikt Christoph Wolters
- Re: [Editorial Errata Reported] RFC7540 (4871) Amos Jeffries
- Re: [Editorial Errata Reported] RFC7540 (4871) Cory Benfield
- Re: [Editorial Errata Reported] RFC7540 (4871) Cory Benfield
- Re: [Editorial Errata Reported] RFC7540 (4871) Cory Benfield
- Re: [Editorial Errata Reported] RFC7540 (4871) Kazuho Oku
- Re: [Editorial Errata Reported] RFC7540 (4871) Cory Benfield
- Re: [Editorial Errata Reported] RFC7540 (4871) Kazuho Oku
- Re: [Editorial Errata Reported] RFC7540 (4871) Benedikt Christoph Wolters
- Re: [Editorial Errata Reported] RFC7540 (4871) Cory Benfield
- Re: [Editorial Errata Reported] RFC7540 (4871) Tatsuhiro Tsujikawa
- Re: [Editorial Errata Reported] RFC7540 (4871) Stefan Eissing
- Re: [Editorial Errata Reported] RFC7540 (4871) Ryan Hamilton
- Re: [Editorial Errata Reported] RFC7540 (4871) laike9m
- RE: [Editorial Errata Reported] RFC7540 (4871) Mike Bishop
- Re: [Editorial Errata Reported] RFC7540 (4871) Martin Thomson
- Re: [Editorial Errata Reported] RFC7540 (4871) Kazuho Oku
- Re: [Editorial Errata Reported] RFC7540 (4871) Martin Thomson
- Re: [Editorial Errata Reported] RFC7540 (4871) Patrick McManus
- Re: [Editorial Errata Reported] RFC7540 (4871) Mark Nottingham
- Re: [Editorial Errata Reported] RFC7540 (4871) Martin Thomson
- Re: [Editorial Errata Reported] RFC7540 (4871) Mark Nottingham