Re: ENABLE ⇒ PROVIDE | Re: SETTINGS_PRIORITY_SCHEME | Re: Setting to disable HTTP/2 Priorities

Lucas Pardue <lucaspardue.24.7@gmail.com> Wed, 31 July 2019 19: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 0C8D8120018 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Jul 2019 12:13:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.751
X-Spam-Level:
X-Spam-Status: No, score=-2.751 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.249, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, 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 E_kOxIZI_ZO8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Jul 2019 12:13:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [IPv6:2603:400a:ffff:804:801e:34:0:38]) (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 1A2BC12004F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 31 Jul 2019 12:13:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1hsu0t-0005kU-ET for ietf-http-wg-dist@listhub.w3.org; Wed, 31 Jul 2019 19:11:51 +0000
Resent-Date: Wed, 31 Jul 2019 19:11:51 +0000
Resent-Message-Id: <E1hsu0t-0005kU-ET@frink.w3.org>
Received: from titan.w3.org ([2603:400a:ffff:804:801e:34:0:4c]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <lucaspardue.24.7@gmail.com>) id 1hsu0q-0005jN-Tj for ietf-http-wg@listhub.w3.org; Wed, 31 Jul 2019 19:11:48 +0000
Received: from mail-vs1-xe35.google.com ([2607:f8b0:4864:20::e35]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <lucaspardue.24.7@gmail.com>) id 1hsu0n-00060t-EL for ietf-http-wg@w3.org; Wed, 31 Jul 2019 19:11:48 +0000
Received: by mail-vs1-xe35.google.com with SMTP id v129so46991873vsb.11 for <ietf-http-wg@w3.org>; Wed, 31 Jul 2019 12:11:24 -0700 (PDT)
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=KJfeiPHPL0dx/k1U3tSTVkFSDU1E5C3PK3eaAu9ugLc=; b=mEfOUVohtZ5vIx/PzCqW4UzNPAozUjtfxspSC6hsU6qId/MPF3IW062u9eeCtGLWQV mXCtp7AN8VWgOgG/+tzRK5QhnpD16dxIZTD52RVgkVJLoGnwJgsbMVTCl8ao1I2hZ9Is 74xUQXSvh4nBGGeuunI4J3LWOCfDuk3jqjnE3ujtvacVPmvs2WkPveqlE3Q/7qoEA7Ka OY0ZuxV+6csJt9ArqW48WW7/jh6W3Nb6dyStwl7/D76Yh5nSeqxCBiCz1LrYmnnjSeW+ x8X3xMlWhdIfw3dhGrlDKcVxAOqXw6rVIV2iazlWOW6/rMEiU/23g2ta5pUIHQ5WxkFK d+qQ==
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=KJfeiPHPL0dx/k1U3tSTVkFSDU1E5C3PK3eaAu9ugLc=; b=hmzqoqBYegIILH2cCpfuHmARIndjQxaXdRgW0iUf6+Sg1YlD23y+4aEWkaUA/pXBpf aV9Q+372TDTpiIQpRRBFOFLDssnptDzX0pO1noeuU0UanhhtQDjGM1cqBqB563zULhph x0SUD2M0CpdWI9J98G/K56wgpi7NiPI3mPRnY4NDpuMOQbuffzrhnF1HGfce8JRgZ0AA 97MLzfAfgWElIOMtnbCLd84V6PSoTiKgA/Qcs0ofho91Q2ilQfIt/JIFFaonAPMKMJW4 h73bJEPB0ngnnrcDnkMRCqaHRfhS4ISuZ6hzby/QyOodAC6xDnlnCH0aVhDtRQNFIQjb mZ+g==
X-Gm-Message-State: APjAAAWh97DL03D4xisPEmX9HlkoJdskFwhzqHOCf5kkcDHOQnczNtOF eBp7vZ8cfFGn1JJmoreiDOEuu//MdWxpCTAPtoM=
X-Google-Smtp-Source: APXvYqzoVjBE/jHXLCcf+e5VdapSvX80lvw5na6jYPspANQ5f5oM3mou39Y8kD+kQbuwciAeyzbtF7k4OtDGwLzW81g=
X-Received: by 2002:a67:d00d:: with SMTP id r13mr81697394vsi.100.1564600284243; Wed, 31 Jul 2019 12:11:24 -0700 (PDT)
MIME-Version: 1.0
References: <20190725191746.GB12596@ubuntu-dmitri> <20190730154809.BBE3412178@welho-filter1.welho.com> <CALGR9oZnKo1JXnxLiKp+04kJeT5Uek3BiCPq=XSq4dG4B3AUBA@mail.gmail.com> <CACweHNDChKtVBTzQGctxAFdgZydrOKt8a9oAKrYbbq1JKLFPNg@mail.gmail.com> <20190731180108.D385BC3F0A@welho-filter2.welho.com>
In-Reply-To: <20190731180108.D385BC3F0A@welho-filter2.welho.com>
From: Lucas Pardue <lucaspardue.24.7@gmail.com>
Date: Wed, 31 Jul 2019 20:11:14 +0100
Message-ID: <CALGR9oYEgBUvPBhYpQm2-JL1bk9cEN9LnKpwk9tv0YR2rj42HQ@mail.gmail.com>
To: Kari Hurtta <hurtta-ietf@elmme-mailer.org>
Cc: Matthew Kerwin <matthew@kerwin.net.au>, HTTP Working Group <ietf-http-wg@w3.org>, Dmitri Tikhonov <dtikhonov@litespeedtech.com>, Brad Lassey <lassey@chromium.org>, Kari Hurtta <khurtta@welho.com>
Content-Type: multipart/alternative; boundary="000000000000286e91058efee487"
Received-SPF: pass client-ip=2607:f8b0:4864:20::e35; envelope-from=lucaspardue.24.7@gmail.com; helo=mail-vs1-xe35.google.com
X-W3C-Hub-Spam-Status: No, score=-2.3
X-W3C-Hub-Spam-Report: AWL=1.539, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, 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: titan.w3.org 1hsu0n-00060t-EL 9e4011512ccdeb9577d80b2f81a28ba9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: ENABLE ⇒ PROVIDE | Re: SETTINGS_PRIORITY_SCHEME | Re: Setting to disable HTTP/2 Priorities
Archived-At: <https://www.w3.org/mid/CALGR9oYEgBUvPBhYpQm2-JL1bk9cEN9LnKpwk9tv0YR2rj42HQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/36887
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 Wed, 31 Jul 2019, 19:01 Kari Hurtta, <hurtta-ietf@elmme-mailer.org>
wrote:

>
> Yes,
>
>
> SETTINGS_ENABLE_* typically changes how HTTP/2 connection is
> prosessed or allows some usages which otherwise produce
> protocol error (example: SETTINGS_ENABLE_CONNECT_PROTOCOL).
>
> Therefore these these typically allows only 0 ⇒ 1 transitions.
> Feature which is enabled, is not allowed to be turned off because
> it may effect handling of frames which are already sent by
> other peer.
>
> Therefore I think that
>
>     SETTINGS_PROVIDE_HTTP2_PRIORITIES
>
> is better name than
>
>     SETTINGS_ENABLE_HTTP2_PRIORITIES
>
>
> In other words this does not chahneg parsing of HTTP/2
> frames. Even when this is set to 0, sending priorities
> does not cause protocol error.
>
> In SETTINGS_PROVIDE_HTTP2_PRIORITIES server asks
> client to provide (or not provide) http/2 tree
> priorities.
>

Thanks. Along that line of thinking, maybe its simpler just to represent
this as an opt out flag? E.g. SETTINGS_RFC7540_PRIORITY_OPT_OUT which can
only ever be a value of 1. By default H2 endpoints have opted in and they
have a freedom to opt out. However, once they do so there are no take
backs.

Lucas

P.s.the cynic in me would call this SETTINGS_PREXIT. An endpoint that
invokes RFCticle 9050,  needs to select a new deal or crash out to WT(FIF)O
priorities.



>
> ( Another possible name is
>
>   SETTINGS_PROVIDE_TREE_PRIORITIES
>
> )
>
> / Kari Hurtta
>
>