Re: New Version Notification for draft-ietf-httpbis-priority-00.txt

Kazuho Oku <kazuhooku@gmail.com> Fri, 06 March 2020 04:08 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 8DAD03A12D1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 5 Mar 2020 20:08:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.749
X-Spam-Level:
X-Spam-Status: No, score=-2.749 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.25, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, URIBL_BLOCKED=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 3QSDbzzxzmAd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 5 Mar 2020 20:08:47 -0800 (PST)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C6DD83A12D0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 5 Mar 2020 20:08:47 -0800 (PST)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1jA4F8-0007M6-Bu for ietf-http-wg-dist@listhub.w3.org; Fri, 06 Mar 2020 04:05:46 +0000
Resent-Date: Fri, 06 Mar 2020 04:05:46 +0000
Resent-Message-Id: <E1jA4F8-0007M6-Bu@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <kazuhooku@gmail.com>) id 1jA4Ey-0007Ko-PJ for ietf-http-wg@listhub.w3.org; Fri, 06 Mar 2020 04:05:37 +0000
Received: from mail-vs1-xe2e.google.com ([2607:f8b0:4864:20::e2e]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <kazuhooku@gmail.com>) id 1jA4Ex-0000RP-6B for ietf-http-wg@w3.org; Fri, 06 Mar 2020 04:05:36 +0000
Received: by mail-vs1-xe2e.google.com with SMTP id y204so715929vsy.1 for <ietf-http-wg@w3.org>; Thu, 05 Mar 2020 20:05:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9Nx1QT3TfQoOHzljyJYXm2Y85+32oV8jzfZwuS30TTg=; b=A1jd3ozmi28/ZOLCnV5rG0Uzw46IfY6t3HbshktAU3hNqo4cQKGHNtR1skGdqltPSB wdN3BfZP9jMzZPDr9U44c8bbJMuIxk3LEPXUL8c5K/mT9HqPRHb6+xHdPmTWHoRoSDQC YyGffdGS42ef+u7wDL8w+OzRVuhqER2/X9g/k56/eRxv8x/8n5NQQjrktx9mTq/U/Aqg ha2qgzOVX5/qeNaWYESYlY1sPIA0JYp6WWnvyM19PnSRfAxZw0F1A5VFsf2D8XlPKZkn 7YY7+UCkHFmKAxBeoNkhglebL2VpHBL7zH9Vp+x3kSkRunDBCCSNhivJC7orTkPh6DcA rv5g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9Nx1QT3TfQoOHzljyJYXm2Y85+32oV8jzfZwuS30TTg=; b=R2Qu58xYj2GeVJeUDnT4fckVmmZMLs8IyjnI6CU1B/aPnuUQaZI+kBbh3tfpIba7Gv TQzu3DEqfTuPWamnVJWC9Yg2C70eG6bWAsLUUahk70OpAhdk288VwBW9bMGHKVjOzd8p wRtOusIQdboXZmJi6JPoMh2Js4UDB0dGOzTL0b6EhUP29wOQbBwllvWIPvFog1gFnIEX 91oCqPmnElHU3q61tpDRgDtqxD4PncCHoHRhXAKFcXzmTrBgMS+mLlxwe6d//5FXjDpS M/jKMLjQj0Ekw0QUsLo2KCvAAfO60JbKDEKVyGmxlayNqAS8erErxiIsXrHhDqAemqFt Whjg==
X-Gm-Message-State: ANhLgQ3BknNcRJTInbbBqQvWlcsQ+HfAQPpXOgWK0WQgDzp6hzfjJ/T7 VCFKHeWLnQeo6W2Z0wRmnxS1PxBcV8K7rZKxtPc=
X-Google-Smtp-Source: ADFU+vsPP9A3UDwYQpfbGTIYvg7U9HAqHxIqs//LKM5awKogo6/XTfkqSg1qhA9/Dwh1eaIAVgUtxj3CysU8KeGAnP0=
X-Received: by 2002:a05:6102:30b3:: with SMTP id y19mr1005227vsd.132.1583467523914; Thu, 05 Mar 2020 20:05:23 -0800 (PST)
MIME-Version: 1.0
References: <158342819915.14611.53810193547146190@ietfa.amsl.com> <CALGR9obw90VweYQybVHSs=5MYJe8PUMt+adEAppLZ=QVPcKUew@mail.gmail.com> <CAKcm_gO+B92LKDKdcfJwq4SbXjzh7q8qKER=3U7K=MO1VhH4Aw@mail.gmail.com> <CALGR9oZ9sHGtr5yNHCKM9Hgp7nHAz4WTaTF=AerD666dCmF14g@mail.gmail.com> <3AFE2DC4-C4D6-478A-BFCC-448FD3B2915E@fb.com> <012fa5f9-c234-4b25-ac5a-c12d5387715f@www.fastmail.com> <CAKcm_gOummxX8RibT6nqnX68ifZiZveAMELWNg4Q+43R5nfiyg@mail.gmail.com> <CALGR9oY9uvm8vF2g7hQNMOt2UzgMezCoiUJve4Q=qo9kwCm3-g@mail.gmail.com> <CAKcm_gMBDxsMR_0QPUmwO0L+AT+sz1vCtORtP8uqvS8r9LHfKw@mail.gmail.com>
In-Reply-To: <CAKcm_gMBDxsMR_0QPUmwO0L+AT+sz1vCtORtP8uqvS8r9LHfKw@mail.gmail.com>
From: Kazuho Oku <kazuhooku@gmail.com>
Date: Fri, 06 Mar 2020 13:05:13 +0900
Message-ID: <CANatvzw6pV+wiXkpdTjSYhPmc811qGmiTT8SXHuPFoHcgn=V1Q@mail.gmail.com>
To: Ian Swett <ianswett@google.com>
Cc: Lucas Pardue <lucaspardue.24.7@gmail.com>, Martin Thomson <mt@lowentropy.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="00000000000046c0cf05a027c34b"
Received-SPF: pass client-ip=2607:f8b0:4864:20::e2e; envelope-from=kazuhooku@gmail.com; helo=mail-vs1-xe2e.google.com
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1jA4Ex-0000RP-6B a6e5962643c3bad611553311231eceb1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-ietf-httpbis-priority-00.txt
Archived-At: <https://www.w3.org/mid/CANatvzw6pV+wiXkpdTjSYhPmc811qGmiTT8SXHuPFoHcgn=V1Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37417
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: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

2020年3月6日(金) 11:12 Ian Swett <ianswett@google.com>:

> I think it would be nice to allow the frame on the request stream, but
> it's not a must.  The current design works from my perspective, but it uses
> a few more bytes.  If others support allowing it on the request stream, I'd
> be supportive, and the additional code is tiny, but I'm not going to fight
> for it really strongly and I certainly don't want to delay this effort to
> fight for it.
>
>
I think my preference goes to sending priority only on the control stream,
for simplicity and robustness.

Having two ways to signal priorities through a frame is complex.

I would point out that Chrome (as it is now) sends the PRIORITY_UPDATE
frame on the control stream before the HEADERS frame on the request stream,
and I like it.

QUIC does not have ordering guarantee between streams, and that means that
there's always chance for a PRIORITY_UPDATE frame to arrive after the
prioritization signal sent on the request stream, regardless of that signal
being a header field or a frame.

Therefore, servers ought to buffer the information conveyed in the
PRIORITY_UPDATE frame being received on the control stream. The current
behavior of Chrome helps server developers do that.


> I hope that's slightly clearer.
>
> Thanks, Ian
>
> On Thu, Mar 5, 2020 at 4:54 PM Lucas Pardue <lucaspardue.24.7@gmail.com>
> wrote:
>
>> I agree with the points made but I think my question was unclear of my
>> intent. So let me rephrase it as: HTTP/2 allows the PRIORITY frame to be
>> sent on a stream at any point. Do we want to allow NU_PRIORITY on request
>> streams but constrain the states that it can be sent in?
>>
>> Given that we're trying to define something that works equivalently
>> across HTTP/2 and HTTP/3, my inclination is that restricting NU_PRIORITY to
>> stream 0 and the control stream achieves that.
>>
>>
>> On Thu, Mar 5, 2020 at 9:40 PM Ian Swett <ianswett@google.com> wrote:
>>
>>> Martin's concern is exactly right.
>>>
>>> On Thu, Mar 5, 2020 at 4:24 PM Martin Thomson <mt@lowentropy.net> wrote:
>>>
>>>> On Fri, Mar 6, 2020, at 07:43, Roberto Peon wrote:
>>>> > Until HTTP offers chunk-extensions again, I don’t see how it can be
>>>> otherwise?
>>>>
>>>> I don't think that's the concern, it's that there is no way for a
>>>> client to send an update if the request stream is closed.  At least in QUIC.
>>>>
>>>>

-- 
Kazuho Oku