Re: Comments on Extensible Prioritization Scheme for HTTP

Glenn Strauss <gs-lists-ietf-http-wg@gluelogic.com> Thu, 31 March 2022 13:49 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 E18753A12EE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 31 Mar 2022 06:49:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.659
X-Spam-Level:
X-Spam-Status: No, score=-2.659 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.248, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=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 jugOpvf7r7YK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 31 Mar 2022 06:49:15 -0700 (PDT)
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 0F9D43A1220 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 31 Mar 2022 06:49:12 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1nZv8M-0005WZ-BZ for ietf-http-wg-dist@listhub.w3.org; Thu, 31 Mar 2022 13:46:42 +0000
Resent-Date: Thu, 31 Mar 2022 13:46:42 +0000
Resent-Message-Id: <E1nZv8M-0005WZ-BZ@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <gs-lists-ietf-http-wg@gluelogic.com>) id 1nZv8K-0005Vo-Og for ietf-http-wg@listhub.w3.org; Thu, 31 Mar 2022 13:46:40 +0000
Received: from smtp1.atof.net ([52.86.233.228]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from <gs-lists-ietf-http-wg@gluelogic.com>) id 1nZv8J-0004Z6-Fl for ietf-http-wg@w3.org; Thu, 31 Mar 2022 13:46:40 +0000
X-Spam-Language: en
X-Spam-Relay-Country:
X-Spam-DCC: B=MGTINTERNET; R=smtp1.atof.net 1170; Body=1 Fuz1=1 Fuz2=1
X-Spam-RBL:
X-Spam-PYZOR: Reported 0 times.
Date: Thu, 31 Mar 2022 09:46:19 -0400
From: Glenn Strauss <gs-lists-ietf-http-wg@gluelogic.com>
To: Lucas Pardue <lucaspardue.24.7@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Kazuho Oku <kazuhooku@gmail.com>
Message-ID: <YkWwq0fAYDEK/XOM@xps13>
References: <YkU6IoXeg470P45G@xps13> <20220331070709.GE23808@1wt.eu> <YkWRelL/qO0qpzf3@xps13> <CALGR9oZsSVzw5XzPkGr7N30qyGVVKLJo7fd0_3tiRfzVuE4SLw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CALGR9oZsSVzw5XzPkGr7N30qyGVVKLJo7fd0_3tiRfzVuE4SLw@mail.gmail.com>
Received-SPF: pass client-ip=52.86.233.228; envelope-from=gs-lists-ietf-http-wg@gluelogic.com; helo=smtp1.atof.net
X-W3C-Hub-Spam-Status: No, score=-6.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1nZv8J-0004Z6-Fl d2f1627d03edb5407fb18dfad71c6a0d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Comments on Extensible Prioritization Scheme for HTTP
Archived-At: <https://www.w3.org/mid/YkWwq0fAYDEK/XOM@xps13>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/39929
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>

On Thu, Mar 31, 2022 at 01:06:45PM +0100, Lucas Pardue wrote:
> It's noble to want a pattern but I don't think we have enough examples of
> HTTP/2 extensions at the IETF to form consensus on one.

My understanding is that communicating/negotiating feature support
is among the raison d'être of HTTP/2 SETTINGS.

Communicating and negotiating features is not new.  For example, the
*1977* RFC 731 for telnet has IAC WILL/IAC WONT and IAC DO/IAC DONT.

I believe that draft-ietf-httpbis-priority for PRIORITY_UPDATE has
serious omissions in this regard -- communicating and negotiating
use of the optional feature -- especially since the draft recognizes
limitations of PRIORITY and proposes an alternative to provide
substantially overlapping functionality.  For example:

https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-priority-12#section-2.1.1
makes an assumption which I find incorrect.

   Similarly, if the client receives SETTINGS_NO_RFC7540_PRIORITIES with
   value of 0 or if the settings parameter was absent, it SHOULD stop
   sending PRIORITY_UPDATE frames (Section 7.1), since those frames are
   likely to be ignored.

My server (lighttpd) parses and discards PRIORITY frames, but I am
planning on implementing the coarser, but simpler, PRIORITY_UPDATE,
as well as supporting the proposed HTTP request header Priority.
draft-ietf-httpbis-priority does not currently provide a clean way
to communicate server HTTP/2 support preference for PRIORITY_UPDATE, 
but not PRIORITY, to the client.  Using HTTP/2 SETTINGS appears to
me to be a simple and an appropriate place to communicate this.

Cheers, Glenn