Re: Proposal: a new WRAP UP capsule
Martin Thomson <mt@lowentropy.net> Wed, 10 July 2024 01:12 UTC
Received: by ietfa.amsl.com (Postfix) id 653B1C17C884; Tue, 9 Jul 2024 18:12:29 -0700 (PDT)
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 64685C16943A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 9 Jul 2024 18:12:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.358
X-Spam-Level:
X-Spam-Status: No, score=-7.358 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLACK=0.5, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=w3.org header.b="E/EmeGZa"; dkim=pass (2048-bit key) header.d=w3.org header.b="OjGxIG+T"; dkim=pass (2048-bit key) header.d=lowentropy.net header.b="aWZObTPj"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="fp/ocjtk"
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ikJYVX-aK9Wc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 9 Jul 2024 18:12:24 -0700 (PDT)
Received: from mab.w3.org (mab.w3.org [IPv6:2600:1f18:7d7a:2700:d091:4b25:8566:8113]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C0E08C1519B8 for <httpbisa-archive-bis2Juki@ietf.org>; Tue, 9 Jul 2024 18:12:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Subject:Content-Type:To:From:Date:References:In-Reply-To:Message-Id: MIME-Version:Cc:Reply-To; bh=pEpTNmAbOpkB9th7QNm6o9UJNdAYvrvKbnqeiVns7e0=; b= E/EmeGZaXrszzM+DniS/NyNnLfEUY6fZ2pOrsLytbSzKTkNtpNG9dD6c0jgW7RJn34Jm8rUikHftY HE/NcaqJX3FY8UsToFGnH/JG4XcUhdqebmAUN2/0b6WMc9/PyJbcijUQIfFhOHzLeniMgPMaSps3q FaT5zCuIHKbOW8s3DTRX+bmke/vQUvdoKOtSz8/jW8utppPN8fBlIcv//EsMggvhT7iRhB8+Fg6dS 4bMRD2HVup4gsaGcGb0CrqCgh7cr0YXrMbvfFYVJhggLYk5WGp909pxj0pwZMZy0OMu8Rzgl8VFMr Mv7AWH4uOfwOGLLtn2FQ8rT2nGKg9MCMQA==;
Received: from lists by mab.w3.org with local (Exim 4.96) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1sRLrg-00EfQz-2O for ietf-http-wg-dist@listhub.w3.org; Wed, 10 Jul 2024 01:11:24 +0000
Resent-Date: Wed, 10 Jul 2024 01:11:24 +0000
Resent-Message-Id: <E1sRLrg-00EfQz-2O@mab.w3.org>
Received: from ip-10-0-0-144.ec2.internal ([10.0.0.144] helo=pan.w3.org) by mab.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <mt@lowentropy.net>) id 1sRLre-00EfPz-2T for ietf-http-wg@listhub.w3.internal; Wed, 10 Jul 2024 01:11:22 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Content-Type:Subject:To:From:Date:References:In-Reply-To:Message-Id: MIME-Version:Cc:Reply-To; bh=pEpTNmAbOpkB9th7QNm6o9UJNdAYvrvKbnqeiVns7e0=; t=1720573882; x=1721437882; b=OjGxIG+T8J+uWs+N0CiIt4jGWptJAJGXjuuCvDxsfgFQcvC tipFvELQ7DDCjRfMyTON8eYLq55ZrRtYMaNgkZBAp8xd7EgZmDO3IOXfC8YXrIo5lTA81FG0FDqGH LoN+VHx62WSYUU0WwzsXp1YU2JZZ2N7I+6CGedzDrGbRubqCgwE9pJi0VtoXMY26RAcDODOyCqHsJ +bUF3YIFPfUCdiDaqbePAZn3bobSbuBbV0vyvGGHkNQRxD/Mphx+uG0Qm10KptJlQTR2NfWC+5igi tmQ54d/3n3GtEHuali/jYQFwN9/QiJ4awlag7GuKF99BZBcHpIdj0s/y8W1TK46w==;
Received-SPF: pass (pan.w3.org: domain of lowentropy.net designates 103.168.172.151 as permitted sender) client-ip=103.168.172.151; envelope-from=mt@lowentropy.net; helo=fout8-smtp.messagingengine.com;
Received: from fout8-smtp.messagingengine.com ([103.168.172.151]) by pan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <mt@lowentropy.net>) id 1sRLrd-006mEj-21 for ietf-http-wg@w3.org; Wed, 10 Jul 2024 01:11:22 +0000
Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfout.nyi.internal (Postfix) with ESMTP id 5C4DC138117D for <ietf-http-wg@w3.org>; Tue, 9 Jul 2024 21:11:18 -0400 (EDT)
Received: from imap41 ([10.202.2.91]) by compute6.internal (MEProxy); Tue, 09 Jul 2024 21:11:18 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1720573878; x=1720660278; bh=pEpTNmAbOp kB9th7QNm6o9UJNdAYvrvKbnqeiVns7e0=; b=aWZObTPjSoqZSQKs1i5LIqfHjo UPF6ahyyeNKMSaZ6FLuPOZnh1/BIPT1zp9GMJAzosJ8b8WgFXf1OUgvyGIWWEqi9 zS/YG8SBHN7b35yYQ2Luwr3o3mihuwpdae8X0AJp88n0ueqEfle4JUEsCFNKRVgn rETG8Qk1+L/pjaQN30HTCeIeQW0mdt8gn69APszTOpBZ28E6zUPEelbOWGVGHCcW KP8kL3qEEu1V6lVORQq2egXKJe7xxAMsoqZYUz6/x01kGtqXVgIpGHF9zAQQRoGE USj98toBzt4fweippS9HvOUE1V85Ccj9LK8EGGbr5ltRhZ+L105fTkbiUgEw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1720573878; x=1720660278; bh=pEpTNmAbOpkB9th7QNm6o9UJNdAY vrvKbnqeiVns7e0=; b=fp/ocjtkgpFRrGE4XfBQ1yZ5S0JMllnh81nR3wsa01Ew YXuyrXLICyle6BNGE807Qde0mJhy/aBw8h5VUj0UTzN4SWALyaTwQxX8GvMnxAxW yhh1FSGfkTcSGKfGHKP7SBChYkzyIrwGLOjhwY/gr4H+kpK8MBen9bquWM3NKg04 KSWUoPChcFfKJnfTcvBxi7eMJD3E2CKHTRRZ/ElIrpooEuCs2wWl07AX8VEWySqC 7mw/NVDMjxGYEJHYADAYvNmIbCkUE3lPC2fR/Rxr6SWWMAlmk2SGPfAVdzurxpA2 uQCYcNbCk+bZo9fzT2As9s5ONT3yB36n6khJqCMTpw==
X-ME-Sender: <xms:td-NZp2CcREtmMzh6ouQj7kx6htIQbYmNeFliAIIInUC6U-j1lHDPg> <xme:td-NZgHHXz_jmEhLQcglwxTikS1WOdyFnbFl0HfeZjwWJ_0NhQPUxTJh3caitmoAH 3zlKB3eTPwF8nhmul0>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrfedtgdeggecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecuogfuuhhsphgvtghtffhomhgrihhnucdlgeelmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedfofgrrhht ihhnucfvhhhomhhsohhnfdcuoehmtheslhhofigvnhhtrhhophihrdhnvghtqeenucggtf frrghtthgvrhhnpeeutdduveekffeihfevteejveduudetfeekhfeutddvhffgtdehieet feehffegueenucffohhmrghinhepihgvthhfrdhorhhgpdhgihhthhhusgdrihhonecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhtsehlohif vghnthhrohhphidrnhgvth
X-ME-Proxy: <xmx:td-NZp753lL_nWySxaf2LjYWs_pnDOPUXFAiQsg7HSmqhxjwVTp8fw> <xmx:td-NZm2ovwPcIaYoNIbDNCnXcvGQQE42lzOhP_hZs_f45q99e2Zvwg> <xmx:td-NZsForNDQrUkakd9DsWqwUrYt8ACibQbC_DTlEQ8zcFyP3su0_A> <xmx:td-NZn-cWDCvxPTGZ_ek4SHqX6wViqTdwfByIHmI4bTpRCjA2ifkxA> <xmx:tt-NZnNs6okkH60lALCYdO57GQIjxoybTdlS1sRCBJaPSMA9qMYlMYhZ>
Feedback-ID: ic129442d:Fastmail
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 291272340080; Tue, 9 Jul 2024 21:11:17 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.11.0-alpha0-568-g843fbadbe-fm-20240701.003-g843fbadb
MIME-Version: 1.0
Message-Id: <7e87de98-6b21-433f-a56f-456557c64a86@betaapp.fastmail.com>
In-Reply-To: <CAPDSy+5UU=GSFWTdrkHW7RXNL8pr5KWtLfp8zjExsZvvGczfEw@mail.gmail.com>
References: <CAPDSy+5UU=GSFWTdrkHW7RXNL8pr5KWtLfp8zjExsZvvGczfEw@mail.gmail.com>
Date: Wed, 10 Jul 2024 11:10:56 +1000
From: Martin Thomson <mt@lowentropy.net>
To: ietf-http-wg@w3.org
Content-Type: text/plain
X-W3C-Hub-DKIM-Status: validation passed: (address=mt@lowentropy.net domain=lowentropy.net), signature is good
X-W3C-Hub-DKIM-Status: validation passed: (address=mt@lowentropy.net domain=messagingengine.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-7.4
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, DMARC_PASS=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLACK=1.7, URIBL_DBL_BLOCKED_OPENDNS=0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: pan.w3.org 1sRLrd-006mEj-21 0434553e84bdbaa822f815c6032785d1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Proposal: a new WRAP UP capsule
Archived-At: <https://www.w3.org/mid/7e87de98-6b21-433f-a56f-456557c64a86@betaapp.fastmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/52066
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/email/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Hi David, I think that this is reasonable - if your goal is to suggest that clients terminate a single CONNECT flow, rather than the entire connection. This could also be achieved with GOAWAY, but it will affect multiple flows. The draft doesn't say this, so maybe I'm missing something important. How common is it to establish multiple flows through a single proxy? That might depend on use case (CONNECT-IP might be more profligate than CONNECT-UDP, say). Cheers, Martin On Sat, Jul 6, 2024, at 08:29, David Schinazi wrote: > Hi HTTP enthusiasts, > > Over in MASQUE land, as we're deploying our two-hop proxies, we decided > we needed to put a cap on how many bytes we'd allow per > token-authenticated connect-udp tunnel. Enforcing a hard limit is easy, > but the issue is that if the proxy aborts the tunnel halfway through, > the web browser could be halfway through a proxied request. Since the > browser doesn't know if the half-finished request was acted on or not, > it can't retry it, so it has to surface the error to the user. Instead, > we want the proxy to be able to warn the browser that this will happen > soon, so that the browser can establish a new tunnel with a new token, > and start sending new requests there. Conceptually this is a little > like GOAWAY, but instead of "please wrap up this connection", it's > "please wrap up this tunnel stream". It uses capsules, since this is a > message from proxy to client. Here's a draft with diagrams: > > https://datatracker.ietf.org/doc/draft-schinazi-httpbis-wrap-up/ > https://davidschinazi.github.io/draft-schinazi-httpbis-wrap-up/draft-schinazi-httpbis-wrap-up.html > > I'd love to hear your thoughts. > > Thanks, > David
- Proposal: a new WRAP UP capsule David Schinazi
- Re: Proposal: a new WRAP UP capsule Martin Thomson
- Re: Proposal: a new WRAP UP capsule Ben Schwartz
- Re: Proposal: a new WRAP UP capsule Valentin Gosu
- Re: Proposal: a new WRAP UP capsule Lucas Pardue
- Re: Proposal: a new WRAP UP capsule David Schinazi
- Re: Proposal: a new WRAP UP capsule Dustin Mitchell
- Re: Proposal: a new WRAP UP capsule Ben Schwartz
- Re: Proposal: a new WRAP UP capsule Lucas Pardue
- Re: Proposal: a new WRAP UP capsule David Schinazi
- Re: Proposal: a new WRAP UP capsule Tommy Pauly
- Re: Proposal: a new WRAP UP capsule David Schinazi