Re: 0-RTT Design for HTTP/2

Ian Swett <ianswett@google.com> Mon, 21 December 2020 12:07 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 F02D23A1010 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 21 Dec 2020 04:07:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.237
X-Spam-Level:
X-Spam-Status: No, score=-10.237 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, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, T_SPF_TEMPERROR=0.01, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham 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 rbx4J6ClP2XZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 21 Dec 2020 04:07:50 -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 686803A100F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 21 Dec 2020 04:07:49 -0800 (PST)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1krJw4-000831-1j for ietf-http-wg-dist@listhub.w3.org; Mon, 21 Dec 2020 12:05:08 +0000
Resent-Date: Mon, 21 Dec 2020 12:05:08 +0000
Resent-Message-Id: <E1krJw4-000831-1j@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 1krJw1-00082O-Qq for ietf-http-wg@listhub.w3.org; Mon, 21 Dec 2020 12:05:05 +0000
Received: from mail-yb1-xb30.google.com ([2607:f8b0:4864:20::b30]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <ianswett@google.com>) id 1krJw0-0003yr-0x for ietf-http-wg@w3.org; Mon, 21 Dec 2020 12:05:05 +0000
Received: by mail-yb1-xb30.google.com with SMTP id w127so8592939ybw.8 for <ietf-http-wg@w3.org>; Mon, 21 Dec 2020 04:05: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=gQxjuX029wd8rtgZXJlWhpCXOSPySAM0RvGpE+nzZKU=; b=sfpBJQTy1he1ZPGXD+Q7jQZ8yXOaGBIRuOxH1LEuLDEAsYEWtQUHTuldw33Lo/KtRo ehWR2No9sg3za0lumrAdhUGLKQw0+6RCv03h5dYihgFffsRNvtQb//55JAPVkMY4BvOe OSNYMLvXJIm+ImqkCFv4a26CSvZRXEXp4E4XtZysjtDFFELQiQrHI85oslRsQtWoQMNq qwDJqozVX5Z4aj34JxaQ9hzrPrrbhujqiT1Dbsvg1WJQbsYqxHl1p7LOA4adLGhu627/ 6ONI0KtwDu9vY1tngKt/EwVedrzghctpgp/C+eoeJ/Hg3CDdmAbI4we2Yan8x5+ujyni m5+Q==
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=gQxjuX029wd8rtgZXJlWhpCXOSPySAM0RvGpE+nzZKU=; b=B/3xBuQt/liDC/UGel0giIF2ZhY+AQ4k5pAD4VusDhsXBIBQyuyhpFbx3zJ2I6/ZYh bmKOOyDQ/BfrLHjpuAXt6BU8+LQIzEyxJzbYVBbt9ktbwYRdpoigul2pJvWnuKzgSDhK TrrjUxH3w5Ga8qhZ3rMTZu+fVZ+gKKzvjUfbJiuODKnYhjpf2z4BHfNFtsDB1dc36NTz PWwP7nIo9mYplPIeIQzq0oWSjjOIerPiQh/S6MNW58wqTP+KgOzlKSfuHhcLznhZ70KY c8hqA8KMaE/X7Jfb7k9GjDvPPFNJioXq649Kob/7Urn+4QQbCa4oZSIIMh4gsgXjVrBi PxiA==
X-Gm-Message-State: AOAM533j+tLzW45PCcc5hLBjdwp5T+lugEZQJ9RRvVKMurecLOr/pDq0 fGnHwpP23m3A2PhG9bfM+kyBv5/JvJtQlnyzARGo4YaKBo4=
X-Google-Smtp-Source: ABdhPJyWvuomfpX+AL/M6kNoOZB3JCh/71qLTmvXnGi7ZlU5T/Pbi5MGz5h2g3Gw4qGZM3EbiqNiY8ZURXxzsJThHLQ=
X-Received: by 2002:a25:c095:: with SMTP id c143mr21702575ybf.119.1608552292868; Mon, 21 Dec 2020 04:04:52 -0800 (PST)
MIME-Version: 1.0
References: <126ee381-7828-451f-865a-db6357928243@www.fastmail.com> <CAH_hAJEmDzfsQQ_V9vpFkGAZcXHtfKzfSDM0r6WJERb6y0_qMA@mail.gmail.com> <CAKcm_gP=2uix9wd_uOw9JgR2OeobNPAdR4s7Sp=r6CEUEng58g@mail.gmail.com> <CAPDSy+55brsH9c_RkvmjzFX6CmKu10go2_G-w2Ub=iO2LZjpbQ@mail.gmail.com> <0adce792-13b3-4e87-a31e-6d3bc4cd5367@www.fastmail.com> <CAKcm_gMWc_Ew_sDNkkyjGZJjwsCfr+rw9xs3SUbT0KTAbkoRHw@mail.gmail.com> <01edbef5-9203-40c3-b1dd-ea5565e8ea16@www.fastmail.com>
In-Reply-To: <01edbef5-9203-40c3-b1dd-ea5565e8ea16@www.fastmail.com>
From: Ian Swett <ianswett@google.com>
Date: Mon, 21 Dec 2020 07:04:41 -0500
Message-ID: <CAKcm_gMF0oucBmbzy-m-2XdpXiO3wq9HroH8vJmM5H5329HnrQ@mail.gmail.com>
To: Martin Thomson <mt@lowentropy.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="0000000000000595ec05b6f8448f"
Received-SPF: pass client-ip=2607:f8b0:4864:20::b30; envelope-from=ianswett@google.com; helo=mail-yb1-xb30.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 1krJw0-0003yr-0x f813fd811628694c0ed352adaf270eca
X-Original-To: ietf-http-wg@w3.org
Subject: Re: 0-RTT Design for HTTP/2
Archived-At: <https://www.w3.org/mid/CAKcm_gMF0oucBmbzy-m-2XdpXiO3wq9HroH8vJmM5H5329HnrQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/38340
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 Sun, Dec 20, 2020 at 5:46 PM Martin Thomson <mt@lowentropy.net> wrote:

> On Sun, Dec 20, 2020, at 06:36, Ian Swett wrote:
> > If I only had to send the SETTING client to server, I think that might
> > be deployable in the near future, though Chrome would have to run more
> > widespread tests.  I'm actually more concerned about the fact that the
> > server has to send the SETTING(which makes complete sense, given what
> > you're trying to accomplish).  It's impractical to wait for receipt of
> > the client SETTING before sending the server one, and the client
> > ecosystem is much slower to upgrade, unfortunately.
>
> My original write-up only had the server send the setting.  It certainly
> works that way.  You get most of the functionality.
>
> If the client says nothing, the server can't condition its treatment on an
> indication of support from the client.  The consequence being that the
> server can't rely on the client respecting lower limits.  That's not a big
> loss though; even fairly low limits would be hard to exceed in the limited
> space available, either due to max_early_data or CWND limits.
>
> > Given this, ALPS looks better from a deployability perspective.  To my
> > knowledge, there are no known issues deploying new TLS 1.3 extensions.
> > Given the lack of interest in a new h2 ALPN, I'm suggesting ALPS
> > include a GREASE recommendation, so if one deploys ALPS, it's also an
> > indication it's a fully compliant h2 implementation.
>
> I suspect that that is not going to be an easy stipulation.  As others
> have observed, people update their TLS stacks independent of their h2
> implementation.
>

Yes, but ALPS has to be actively enabled by the application(h2 in this
case), so if the application is actively enabling it, it should be possible
to require a compliant h2 implementation.