Re: 0-RTT Design for HTTP/2

Martin Thomson <mt@lowentropy.net> Sun, 20 December 2020 22:47 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 8CAE83A0317 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 20 Dec 2020 14:47:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.748
X-Spam-Level:
X-Spam-Status: No, score=-2.748 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.25, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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=lowentropy.net header.b=FIgg8bXr; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=Kut1OuiQ
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 fOKKkw5uJLJk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 20 Dec 2020 14:47:14 -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 67F913A0163 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 20 Dec 2020 14:47:13 -0800 (PST)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1kr7Th-0004he-UU for ietf-http-wg-dist@listhub.w3.org; Sun, 20 Dec 2020 22:47:02 +0000
Resent-Date: Sun, 20 Dec 2020 22:47:01 +0000
Resent-Message-Id: <E1kr7Th-0004he-UU@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 <mt@lowentropy.net>) id 1kr7Tg-0004gt-Nl for ietf-http-wg@listhub.w3.org; Sun, 20 Dec 2020 22:47:00 +0000
Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mt@lowentropy.net>) id 1kr7Tf-0005ad-8e for ietf-http-wg@w3.org; Sun, 20 Dec 2020 22:47:00 +0000
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 7D8D05C00C8; Sun, 20 Dec 2020 17:46:48 -0500 (EST)
Received: from imap10 ([10.202.2.60]) by compute1.internal (MEProxy); Sun, 20 Dec 2020 17:46:48 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=mime-version:message-id:in-reply-to:references:date:from:to :cc:subject:content-type; s=fm1; bh=kVSesoF+jpzV8cyWDqLEu/Rjzgkc 83tYzw+J4s0aDnY=; b=FIgg8bXr3Q2D5lL9oDjdkGammwVAIVnpXsbSVWpbU8VC PrqgoZBP9JRwyylrDcGzaQi5KDLPB4Z0Ig5ZYmD+v3/PCLhaVOg6KuRmREsMsEUK OROhr6GocXR35jdH6CQPv2oyvXrF+VXcOi4FCrcTo6B6p69gu3LsqlebrPr94yDp JHWahpa4hgK2bVu29g4o8ugt1ceSamY/+qIslIqXDLmxJMXnSk1Od4l87jk4xxsF AH/yikC9zNTwPVAG61a2Q75GvoYD4aIc9MHaCHXKMurLLz13FP8y6mCFqdP9YGG8 1rAxne9NzDaBFrCVcweDqE2QTqdZuHNfqBWGauvPBw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=kVSeso F+jpzV8cyWDqLEu/Rjzgkc83tYzw+J4s0aDnY=; b=Kut1OuiQAEOp4HVHtff+7/ 6XLbaxvy2z/WnOdnKoep0tUusuu4Npc3EMdkfnjBdqMzVVQPcR7tNfUSlDE0VsRk YCPGmDAhjf0Ghfam/6GQIhovRL+cIurkxGWL4FbnfeF3HYp1dpGt9cyWxbmwQa/b Ibt9zs6nNJhFy1qn1k7rljkn0CF9yDG1zWMNq6ceSwFurDNSzO2EcWnJpfMRBWov 4BMf+FC0f3b0Wzi3E1u66540aQ0MvR6xej5ozmrQNR3nB1JrbejAEGW6qjc1N1kU px7ebIzTBt0JXV3MYU8pnGdHyA6YgaTqPFYR9iBhGxsGOchoETU8x1gU21fxEf5w ==
X-ME-Sender: <xms:WNTfXwPG_pi10sfJEpvaJuSyqMuO5ItaTGNYszDUNFE-QIUf8j7XyQ> <xme:WNTfX28dG3dCiFsO3Qp9_8WfPAFJv5_fJzwXC6NqZN4UI3NzY7sYZoWlNphvCneeZ PCCiqc829WpxFBxD28>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvddtuddgtdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdforghr thhinhcuvfhhohhmshhonhdfuceomhhtsehlohifvghnthhrohhphidrnhgvtheqnecugg ftrfgrthhtvghrnhepkeetueeikedtkeelfeekvefhkeffvedvvefgkefgleeugfdvjeej geffieegtdejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepmhhtsehlohifvghnthhrohhphidrnhgvth
X-ME-Proxy: <xmx:WNTfX3SasW7WISiwD39REP-UpQThArcSV39AcIFFvxbmQaxlQJlLdA> <xmx:WNTfX4tnNvKMYz3VIfGn6_N22c7W9S91kqsxk9jzJmOTINbFTJbhkw> <xmx:WNTfX4e8mDy3ODsKQkTqblfuDj9MsCtVeCEYuZa2XNADRpkzpHewEA> <xmx:WNTfXyrvldOzzF_uedyl32_j4sh_YrIxyQ43HhGbbUXpVa8Ybc2PzA>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 36BD9200B9; Sun, 20 Dec 2020 17:46:48 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.3.1-61-gb52c239-fm-20201210.001-gb52c2396
Mime-Version: 1.0
Message-Id: <01edbef5-9203-40c3-b1dd-ea5565e8ea16@www.fastmail.com>
In-Reply-To: <CAKcm_gMWc_Ew_sDNkkyjGZJjwsCfr+rw9xs3SUbT0KTAbkoRHw@mail.gmail.com>
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>
Date: Mon, 21 Dec 2020 09:46:27 +1100
From: Martin Thomson <mt@lowentropy.net>
To: Ian Swett <ianswett@google.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain
Received-SPF: pass client-ip=66.111.4.28; envelope-from=mt@lowentropy.net; helo=out4-smtp.messagingengine.com
X-W3C-Hub-Spam-Status: No, score=-6.8
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1kr7Tf-0005ad-8e edf2df0efe59f108e78a4c8c65701d17
X-Original-To: ietf-http-wg@w3.org
Subject: Re: 0-RTT Design for HTTP/2
Archived-At: <https://www.w3.org/mid/01edbef5-9203-40c3-b1dd-ea5565e8ea16@www.fastmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/38335
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 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.