Re: Repurpose of priority | Re: SETTINGS_PRIORITY_SCHEME | Re: Setting to disable HTTP/2 Priorities

Lucas Pardue <lucaspardue.24.7@gmail.com> Thu, 01 August 2019 17:51 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 8E758120182 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 1 Aug 2019 10:51:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.798
X-Spam-Level:
X-Spam-Status: No, score=-2.798 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.201, 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 gHtYNjOiiTw6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 1 Aug 2019 10:51:00 -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 5027512019B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 1 Aug 2019 10:50:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1htFBH-0004lN-T6 for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Aug 2019 17:47:59 +0000
Resent-Date: Thu, 01 Aug 2019 17:47:59 +0000
Resent-Message-Id: <E1htFBH-0004lN-T6@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 1htFBE-0004kT-0q for ietf-http-wg@listhub.w3.org; Thu, 01 Aug 2019 17:47:56 +0000
Received: from mail-vk1-xa33.google.com ([2607:f8b0:4864:20::a33]) 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 1htFBC-0004pD-PR for ietf-http-wg@w3.org; Thu, 01 Aug 2019 17:47:55 +0000
Received: by mail-vk1-xa33.google.com with SMTP id 9so14792672vkw.4 for <ietf-http-wg@w3.org>; Thu, 01 Aug 2019 10:47:34 -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=kStAb7DseWk4vhWvwzXZR5pKvPDHq7JN7EVjIHs1VRE=; b=rAHZRSZl2mKgliOGRYGXdUGgss9oc3j8fjlWrOjpljp9Pp3hC434Qvl4mKlUemOhmP hWBSBs2Mb8pUQy2agwXh6kXjOsBUatQkLxS3DMHdesApdyJqQRqWwBxiB4RvTii8phAs kwX6Sj54U/Sjmq2Y4mo7dEsQkiPnoUCB0cU4daK6h0bGA0GAEWjxnBkLflrioqvxwdkb ug5ue6nbnYg5Fy/mtW776ZivG+M85yZTflcmz7IuiysJEIYINrt7p96mm7r5H1TIMU5j rXnP3Hkl2TwS0EyVr354wmV8w4MEy2xn99JVe01qGTz5+LHmwElFsh9ZcvNjmVplp5w4 9zCA==
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=kStAb7DseWk4vhWvwzXZR5pKvPDHq7JN7EVjIHs1VRE=; b=ulQtGzW6fMu2PSaTJ/BlKRITIkwXgfSVr49NYslF43prgKHehv6nqqsjVmJP0aSFok D5G80TMC15ulBYnQ1ueKHvSGARcd6Ea0G4Rye+k8vIFWXyOFjAajLGDVw3zGzMin0r2V W2gEFTt6Jr/KHuKZeNA1gex/+s+rCfOGcMm7TXQuF2Ty3qQoBa5EbKPkbtOxnyt5Fcbx wyQ6un8oPh0xo0W2JGlS3/8u4nBxG94IKiWcnLvWcI3hbYmVPGqIyEJU1CgJuaJQd0EY u5Cm/VsuxU2yUMazRb1/CjEemHHx71znLDzLLinhMTQZlwMi6s6A9MDyLcYlwkN/E8dZ 7Cyg==
X-Gm-Message-State: APjAAAVyPWLgowcfc67uURFJHNdLfhZ7f2/h+k/5Y8IgdD6uGe/4mWb0 HcrQxtqrHIyPf0ByirTuda4hctKt82KIqpFWTws=
X-Google-Smtp-Source: APXvYqxUQjFM6UQ6wIZKAY4ROc2xUqP/9mffntZWp4j7Gtqoe8H/UGnsr7tW0chqV97S/j31ZhADxLqrALz9koD9qXM=
X-Received: by 2002:a1f:8bc4:: with SMTP id n187mr51104873vkd.32.1564681653725; Thu, 01 Aug 2019 10:47:33 -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> <CALGR9oaM2JaAnFJt+e6B87jNYgGd42_fRbycSrqU31tEgR=AEg@mail.gmail.com> <20190801164638.522628CD1@welho-filter3.welho.com>
In-Reply-To: <20190801164638.522628CD1@welho-filter3.welho.com>
From: Lucas Pardue <lucaspardue.24.7@gmail.com>
Date: Thu, 1 Aug 2019 18:47:22 +0100
Message-ID: <CALGR9obEjQnFTSnyUjx40vd8EvwHLjuovNxjWaT_3euKcnm1Hg@mail.gmail.com>
To: Kari Hurtta <hurtta-ietf@elmme-mailer.org>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Matthew Kerwin <matthew@kerwin.net.au>, Brad Lassey <lassey@chromium.org>, Dmitri Tikhonov <dtikhonov@litespeedtech.com>
Content-Type: multipart/alternative; boundary="000000000000282fb1058f11d631"
Received-SPF: pass client-ip=2607:f8b0:4864:20::a33; envelope-from=lucaspardue.24.7@gmail.com; helo=mail-vk1-xa33.google.com
X-W3C-Hub-Spam-Status: No, score=-2.3
X-W3C-Hub-Spam-Report: AWL=1.513, 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 1htFBC-0004pD-PR a2f97a3b5f93dd62f10bdd016dce0db0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Repurpose of priority | Re: SETTINGS_PRIORITY_SCHEME | Re: Setting to disable HTTP/2 Priorities
Archived-At: <https://www.w3.org/mid/CALGR9obEjQnFTSnyUjx40vd8EvwHLjuovNxjWaT_3euKcnm1Hg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/36922
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, Aug 1, 2019 at 5:46 PM Kari Hurtta <hurtta-ietf@elmme-mailer.org>;
wrote:

> So if SETTINGS frame changes meaning of PRIORITY data which is already
> sent, that causes that server will interpreted it different than
> what http client intended.
>
> There may be also Stream Dependency field on HEADERS frame.
>
> And also PRIORITY frame may be send before HEADERS frame when stream
> is on idle state.
>
> So that repurpose will not work.
>
>
Any client that is taking the chance to make a semantic change to the
frames it is sending would be foolish to not wait on an affirmative signal
from the server. RFC 7540 Section 5.5. calls specific attention to such a
repurposing:

>    Extensions that could change the semantics of existing protocol
   components MUST be negotiated before being used.  For example, an
   extension that changes the layout of the HEADERS frame cannot be used
   until the peer has given a positive signal that this is acceptable.

Lucas