Re: SETTINGS_HTTP3_PRIORITY_MASK? | Re: SETTINGS_PRIORITY_SCHEME | Re: Setting to disable HTTP/2 Priorities

Lucas Pardue <lucaspardue.24.7@gmail.com> Wed, 31 July 2019 19:25 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 73C7D12006D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Jul 2019 12:25:25 -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 NUwBSW3z4PZh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Jul 2019 12:25:23 -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 777131200A4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 31 Jul 2019 12:25:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1hsuC3-000708-2k for ietf-http-wg-dist@listhub.w3.org; Wed, 31 Jul 2019 19:23:23 +0000
Resent-Date: Wed, 31 Jul 2019 19:23:23 +0000
Resent-Message-Id: <E1hsuC3-000708-2k@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 1hsuC0-0006yo-Oc for ietf-http-wg@listhub.w3.org; Wed, 31 Jul 2019 19:23:20 +0000
Received: from mail-ua1-x936.google.com ([2607:f8b0:4864:20::936]) 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 1hsuBy-0006QT-RZ for ietf-http-wg@w3.org; Wed, 31 Jul 2019 19:23:20 +0000
Received: by mail-ua1-x936.google.com with SMTP id 34so27417327uar.8 for <ietf-http-wg@w3.org>; Wed, 31 Jul 2019 12:22:58 -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=JObn/XCqzJyAMRniDdLtsVZrCD9bMyVErn14vqT1MGo=; b=fWaJHOwziVMXB8G1dez9PKb4xqM6aCj0D9Vz7z/+ftkKkE8juuGOC4/req+2XiX59o cA8zRLM6Pagqefujn9eHOsZgKDwa9DdCjgDNkTx/p5C/ND4eKIB3OAsDxkX9Qbj7qrAr Cuw5uNAGrVOk9t+TuTtF+MgPEORQSYpKilZZmqzC353XKRtDaEnF5I4TWkNY9JnGqmXe 44HI+wgS6LgLO17MElqxSrqmCtqrJt6hl+jSpd6zNxcDiof+R3OJjs5Fg6P5s8Yc+ZHQ LX1woyA28EjY33a7cVxo3ztuNYUqijviNcJHmmErzn34jNW0P6PsfKqw5Pcszc8UTDCs esrg==
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=JObn/XCqzJyAMRniDdLtsVZrCD9bMyVErn14vqT1MGo=; b=sDQ5paCLMFei4QIRjjooiQQ5dzGMQ4oPrbEmrN7KtfunIRSPp5LXmxBDLEU7PL24Iw vlbgFkpzzeMy0yEBT8mP8DGbshY2YwRNIPIh2CxGEB0jfUUwCmWqG0AC41s6wAx94a7K gVBXwbLEdOl/2opdjEeznhAJs20so5mBYVlSvOlgahohm7kGsgCX7qHM2QMoAU8mYal9 RI8UdDuM9N7GABCPTjHWzcfrW+fnzIoTJ90K4bKRccivt4Ex2/fd9ukRWXmw+4pYvsZ0 /7uvmB3WRb9NRV/OVCAXge0dJwD1rWYyYmxem5tUgI6/bbY4V3hQC2Qks+P0EB802rrm JEkg==
X-Gm-Message-State: APjAAAWxRrmbINdb8DZMPhq8zFiPaOg9DA+Ilq8fBlxENyY6fwz7trgW OWoNqovc8kmj8Iy6KR/s6v0QuFe5aL2k4+Tg665AkrtM
X-Google-Smtp-Source: APXvYqxh52fOZiNO2BNYttOp94x+tS6LH0R+xDy0dR696kJETfP2vtogUT79iTyfTgA2GkenP9vRacKIq8zfa9yC2yQ=
X-Received: by 2002:ab0:7491:: with SMTP id n17mr25939049uap.102.1564600977375; Wed, 31 Jul 2019 12:22:57 -0700 (PDT)
MIME-Version: 1.0
References: <20190725191746.GB12596@ubuntu-dmitri> <20190730154809.BBE3412178@welho-filter1.welho.com> <CALGR9oZnKo1JXnxLiKp+04kJeT5Uek3BiCPq=XSq4dG4B3AUBA@mail.gmail.com> <20190731183428.B405A1721@welho-filter3.welho.com>
In-Reply-To: <20190731183428.B405A1721@welho-filter3.welho.com>
From: Lucas Pardue <lucaspardue.24.7@gmail.com>
Date: Wed, 31 Jul 2019 20:22:47 +0100
Message-ID: <CALGR9oZJRx61XFP9ff53SnLqrZDwtraFRa=XrCNi9hLkOodMcw@mail.gmail.com>
To: Kari Hurtta <hurtta-ietf@elmme-mailer.org>
Cc: 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="00000000000078c7cb058eff0dc2"
Received-SPF: pass client-ip=2607:f8b0:4864:20::936; envelope-from=lucaspardue.24.7@gmail.com; helo=mail-ua1-x936.google.com
X-W3C-Hub-Spam-Status: No, score=-2.5
X-W3C-Hub-Spam-Report: AWL=1.347, 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 1hsuBy-0006QT-RZ 19b675e88d41ffd1ae5afa50e948f11d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SETTINGS_HTTP3_PRIORITY_MASK? | Re: SETTINGS_PRIORITY_SCHEME | Re: Setting to disable HTTP/2 Priorities
Archived-At: <https://www.w3.org/mid/CALGR9oZJRx61XFP9ff53SnLqrZDwtraFRa=XrCNi9hLkOodMcw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/36889
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:34 Kari Hurtta, <hurtta-ietf@elmme-mailer.org>;
wrote:

>
> I perhaps interpret this incorrectly, but I try reword your design.
>
> So  HTTP/2 you have SETTINGS paramaters
>
>  • SETTINGS_PROVIDE_HTTP2_PRIORITIES (aka SETTINGS_ENABLE_HTTP2_PRIORITIES)
>  • SETTINGS_HTTP3_PRIORITY_MASK
>
> and on HTTP/3 you have on SETTINGS paramater
>
>  • SETTINGS_HTTP3_PRIORITY_MASK
>
>
> where SETTINGS_HTTP3_PRIORITY_MASK is enable mask (or bitmask) of
> HTTP/3 priority schemes which sender of SETTINGS frame support.
>
> Because SETTINGS_HTTP3_PRIORITY_MASK does not include bit for
> HTTP/2 tree priorites, HTTP/3 does not support them.
>
> Available HTTP/3 priority schemes is intersection (or "binary and")
> between sent and received SETTINGS_HTTP3_PRIORITY_MASK.
>
>
> Because HTTP/3 there is only one SETTINGS frame per direction,
> sending of SETTINGS_HTTP3_PRIORITY_MASK can not delayed until
> SETTINGS_HTTP3_PRIORITY_MASK received from peer is learned.
>
> Therefore SETTINGS frame can not used to indicate selected
> priority scheme (if there more than one priority scheme available).
>
>
> So I assume that HTTP/3 client indicates selected priority scheme
> by just using it.
>
> I my guess correct?
>
>
> ( If priority mask style desing is allowed to include bit
>   for HTTP/2 tree priorites, then SETTINGS_PROVIDE_HTTP2_PRIORITIES
>   and SETTINGS_HTTP3_PRIORITY_MASK SETTINGS parameters
>   collapse to one SETTINGS paramater:
>
>     SETTINGS_PRIORITY_MASK
>
> )
>
> / Kari Hurtta
>

When you put it like that, the MASK design has elegance in that it
specifies a signal mechanism for priority scheme selection. That has
attractive properties because it avoids each scheme having to define a
discovery mechanism.

Lucas

>