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

Ian Swett <ianswett@google.com> Thu, 05 March 2020 20:13 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 51A0C3A0AE7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 5 Mar 2020 12:13:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.251
X-Spam-Level:
X-Spam-Status: No, score=-10.251 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, 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, USER_IN_DEF_DKIM_WL=-7.5] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 xW2XWTF9OCiM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 5 Mar 2020 12:13:33 -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 0A6AB3A0AE1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 5 Mar 2020 12:13:33 -0800 (PST)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1j9wov-0005R9-Fx for ietf-http-wg-dist@listhub.w3.org; Thu, 05 Mar 2020 20:10:13 +0000
Resent-Date: Thu, 05 Mar 2020 20:10:13 +0000
Resent-Message-Id: <E1j9wov-0005R9-Fx@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 <ianswett@google.com>) id 1j9won-0005QW-Jx for ietf-http-wg@listhub.w3.org; Thu, 05 Mar 2020 20:10:05 +0000
Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <ianswett@google.com>) id 1j9wol-000529-T9 for ietf-http-wg@w3.org; Thu, 05 Mar 2020 20:10:05 +0000
Received: by mail-wm1-x331.google.com with SMTP id i14so234967wmb.1 for <ietf-http-wg@w3.org>; Thu, 05 Mar 2020 12:10:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zrF+v85AmCBFl63q0ePsA5alDcB5eNhJHGMvlVJk0Vo=; b=OYdZ/pO44RsxnwCPYsMPf8gfzDcT9qP5mctN/XyCjBUxOHboeeKUxUDopctB9o7p/T e8hCePRFmaB/CTKpAk5kNg0DsXW8vmmRqaY9XJVCTKQ5gODlo0myZXyVqsvD1ioHQBa5 FX/YPo/UbI1I5T7uBodbyp1kxlaenrH77/ulqwIxjtluUlFj60vnFiK5uOGN2GJdRqFT VzVorLYlK1u7mBY7geftQsQ7IHM8eQTjMRpO1RpmSTvhf6OmnEvLoaGOrZ9q8+qe2kkU 9WH3/bRtgwbp790pul7XvgTSK8J3a1dFxXYxAvcBtDA8SOPFGE5HSKN6jG4KryNjAdHY qSRA==
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=zrF+v85AmCBFl63q0ePsA5alDcB5eNhJHGMvlVJk0Vo=; b=WDuWnfuYDwWvGCOyLsYC7LklGscePZuZJ6ztCHV9jTGzrybraz3HSUhx85PFnAtLQ4 idTsNB5BE+659OICJKhEA/hhZ6SdOj65E5gm2BCs6J4vSA6XTJeaHfFfU4cAaMxbqWtf clYjsPzWlxj2TwEbCZXxUIAnr0iIXq7R3gAQkMID0525PJ3bzisJNuVP1BahL4hvyTVX IrOTx49G1/18u5v6qI1rz8RvSL3psdYcCAJ2deikXNkkMsBkX3fFx/cjTpsZQOkluiyy JqqHWs3uwDhD27MF2O+1Kz0p0B/IrVVK9/OXpBRUUfh8gKIRKmXqDC4s05nU4c++KXwu ceVA==
X-Gm-Message-State: ANhLgQ0fBveOWscystJLFVycSxpmjG9VRjmiy7gFu+RZeyuNGwGgXa1k ERLJOI6oPZZ7Qx6++/yeVf5D4SQuFQ8YGw4hcehFDQ==
X-Google-Smtp-Source: ADFU+vvbMXY6FwwFQd/62HWR7FUWCbYZNBpDP31Zad6NfwHtqZyM2ShCYqj7rzHpUmvV99ccxrhDQtFPEhrnrLMzxHU=
X-Received: by 2002:a7b:ce92:: with SMTP id q18mr493163wmj.70.1583438991861; Thu, 05 Mar 2020 12:09:51 -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> <CAKcm_gMW6488p31mT-irSL9CtxSOeaqn8d-NAfR5ZqShHBOmdQ@mail.gmail.com> <CALGR9obL66Yz-1RsfkMMw8zEWTbWTt7c=hC1mb-BF2seHRtA=g@mail.gmail.com>
In-Reply-To: <CALGR9obL66Yz-1RsfkMMw8zEWTbWTt7c=hC1mb-BF2seHRtA=g@mail.gmail.com>
From: Ian Swett <ianswett@google.com>
Date: Thu, 05 Mar 2020 15:09:39 -0500
Message-ID: <CAKcm_gPR6opBtPWY2JHj5gS3r0tuJj4HeNRwwJ9QyfMb7eFXRw@mail.gmail.com>
To: Lucas Pardue <lucaspardue.24.7@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000a2995005a0211e86"
Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=ianswett@google.com; helo=mail-wm1-x331.google.com
X-W3C-Hub-Spam-Status: No, score=-19.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1j9wol-000529-T9 fac1e2693f61b5cc06aa42f9edbc2322
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/CAKcm_gPR6opBtPWY2JHj5gS3r0tuJj4HeNRwwJ9QyfMb7eFXRw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37411
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>

I think only sending it on the control stream is fine, as you can bundle a
STREAM frame from the control frame with that of the request stream into a
single datagram.  I don't think I'd object to sending it on the request
stream, but the only clear benefit is saving a few bytes.

And of course, Chrome may change to use the header for the initial priority
at some point after evaluation, but for now this approach is a bit simpler.

On Thu, Mar 5, 2020 at 3:05 PM Lucas Pardue <lucaspardue.24.7@gmail.com>
wrote:

>
>
> On Thu, Mar 5, 2020 at 7:51 PM Ian Swett <ianswett@google.com> wrote:
>
>> The draft is written with that in mind, but there's no requirement in
>> design or the draft that an implementation can only use the header for
>> initial prioritization.  Chrome uses the frame for initial priority and
>> updates and it seems to work fine.  Obviously only the frame can be used
>> for reprioritization.  I expect Google HTTP/3 servers will end up
>> supporting both.
>>
>> But I think the draft should be updated to describe the frame as HBH and
>> able to be used for either initial or priority updates.
>>
>> In practice, due to reordering, implementations need to handle receiving
>> the frame prior to the request anyway.
>>
>> I hope that clarifies my thinking, Ian
>>
>
> Based on your implementation experience, would you be happy with the frame
> being restricted to only being sent on the control stream? Or do you see
> some need for allowing that frame on the request stream (noting that doing
> so adds challenges to making it work with HTTP/2)?
>
>
>