Re: WGLC for draft-ietf-httpbis-connect-tcp

Lucas Pardue <lucaspardue.24.7@gmail.com> Wed, 06 March 2024 23:32 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=ietf.org@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 26A3AC14F6EE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 6 Mar 2024 15:32:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.858
X-Spam-Level:
X-Spam-Status: No, score=-2.858 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.249, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=w3.org header.b="ml9t/yDq"; dkim=pass (2048-bit key) header.d=w3.org header.b="f8IQcTFr"; dkim=pass (2048-bit key) header.d=gmail.com header.b="GYvSoLrH"
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 9ST-WGTiD2RA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 6 Mar 2024 15:32:55 -0800 (PST)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (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 88FC7C14F6ED for <httpbisa-archive-bis2Juki@ietf.org>; Wed, 6 Mar 2024 15:32:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Subject:Content-Type:Cc:To:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To; bh=00rODU5jxdksT+m66Bovk8+t9OrwUONlooOiJvUseqg=; b=ml9t/yDqoFxp2fLz04Y9pZ/wH1 0stXASFsqwQ5MruPXN5vJuFE+YNPTP92EHjBm/ohhsoBDjJRuUtkA4ljsfVcMMo8kBuri2GfkUMGo Rr3HWL3p5qQAPughGZsmfwzFeh8KAdZ6bYEMDk3/TDjx8ee2QexpCkxdda13QjAFaOQyS1wrmwIkP F+vlKbt2PlEKFuew7RfXcIrQQ/9skwkFKJ13LV9+thjv5ph1PKp6AQ9YT8Iyo6Y505UKx5kKcfNJl ydFmGZ/TB969xdmftGK1Ur51DwgXrwr2zNOuPxdkZUvnCJLLLcMLOee9ptve6qrgRIKtlHjNoBH3P Oq3Q3oWA==;
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ri0kZ-006q2J-Rz for ietf-http-wg-dist@listhub.w3.org; Wed, 06 Mar 2024 23:32:39 +0000
Resent-Date: Wed, 06 Mar 2024 23:32:39 +0000
Resent-Message-Id: <E1ri0kZ-006q2J-Rz@lyra.w3.org>
Received: from puck.w3.org ([34.196.82.207]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <lucaspardue.24.7@gmail.com>) id 1ri0kX-006q1D-9c for ietf-http-wg@listhub.w3.org; Wed, 06 Mar 2024 23:32:37 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To; bh=00rODU5jxdksT+m66Bovk8+t9OrwUONlooOiJvUseqg=; t=1709767957; x=1710631957; b=f8IQcTFrnjzoEeUEK/F+HY3C9ApFZp3LUs1FLzrrJ/f/Dte17z5APAwBmzzVi7ntdrXiGzOmKpa wptxnh/4ikWZv9TRR/sQWUXH+3c/E7U1Uh3tVaS+lvkgTFYAM6JfINcgCfPW6H44ZEgmrfo4eOAeN hC9/0g0cf7v2ekr1qT82Pqmz6LXJGDm2KqTwQ/AjwQcWFsQYZPiAWgg0TUYdwy3MVvvKsoTZ9aqaQ oPMsR9wXu3vBrGoyIfYW2CMueIOOLO/aADvTt4OHw++x9hEPub56iVCoicmTLM/bN1cXhCBdDqeOm aSudiMfseA/Wnc9dE4Cu9wS94A8rvu7PW+Ig==;
Received-SPF: pass (puck.w3.org: domain of gmail.com designates 2607:f8b0:4864:20::32f as permitted sender) client-ip=2607:f8b0:4864:20::32f; envelope-from=lucaspardue.24.7@gmail.com; helo=mail-ot1-x32f.google.com;
Received: from mail-ot1-x32f.google.com ([2607:f8b0:4864:20::32f]) by puck.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from <lucaspardue.24.7@gmail.com>) id 1ri0kW-005Lvn-0i for ietf-http-wg@w3.org; Wed, 06 Mar 2024 23:32:37 +0000
Received: by mail-ot1-x32f.google.com with SMTP id 46e09a7af769-6e4e8be9c85so146031a34.3 for <ietf-http-wg@w3.org>; Wed, 06 Mar 2024 15:32:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709767952; x=1710372752; darn=w3.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=00rODU5jxdksT+m66Bovk8+t9OrwUONlooOiJvUseqg=; b=GYvSoLrHmoxJx9xDC2b9KCGQU4Nr/470sAwcj8WuYnaymtx7OMQl943rz0eCM/gqIu I8YkSY6fxHssh3eDu1Zk5YmkmhCxCYOMS/ruvemkrdlIwk5Zm17NKVRqqNkGzF2kiRmM uQkkhYi7bs8iOTUsSWfFA+3dQxJr9dr7pnL7ud+FWg1ctukoaZLjeSazpnmROxZQVr1j unOIyF44F2mbVBjsZR2wIMcktln+OnKWqGZVxzfzNziajl53YnKVcDeAn/VHApxC5UZF Lmc6Ka3AXtZPCf5rlN1yAqM8Q0remRzyl/s1856iueRoKlj8UqPZwEk+sUX+BRIFkGl8 ndPw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709767952; x=1710372752; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=00rODU5jxdksT+m66Bovk8+t9OrwUONlooOiJvUseqg=; b=t6iU/7CWUuxLcMo6dS9pXptNI+6JL/xnnpJeMbPHwrLrYvphDTH39V08pSPjVx3Jtm BZLEOhBXv2fP3fRAFNkPRAUOSXy1koqARiGg7TUmhLOyD3RBTJJQpiTfPkSTSCEPfat0 +yQ9u3EQNsom3SZR75EhlTkhWtb9vkroXeY4dDQbhDIpDwVQaZ6dcBcVkD/xahNWIgny KI+zVFKPAyJgOUOWxmM6NF9QQAyBUpXEiE+4/fe3NgG3AYgksHatr+iJPjh43cbq2pUc 5zyhtqKr1WnCMhan4+CJo/scZltSuxvtRMAFgG6uTdqzjag5VYZOK9QfPfcg1LJCVEGq 0s1A==
X-Forwarded-Encrypted: i=1; AJvYcCXhA4zKzr0pXZ2bCnaUaiq9dcXBsxbudjauuh2LuYyPe3wR/Ztyi7+rZmyWXv9yvE5eABRoNaeppx0nL6OXLZaWV1tY
X-Gm-Message-State: AOJu0YzaY5uYAuRA8w1kuTaLcGQdmoDMoM7oKrUUFm2BaknChv24LzZL kKBkfUEaQZ8BMEdWs30zwxFu+5JKIX4FYiPxH7QqXkmxEUvTpuYNwPNBW8AMEYuRTd4DTRhyUiX 0TlC0LFCjLo6LH//jWUBOD+ONUzM=
X-Google-Smtp-Source: AGHT+IHo6nKF+HjyVe/bNObus9eVD1TyA9nClHClNA8gFQkQBbgefW079t1tegIIMuuZKdZBX7WFwRwtfTL66w30gQw=
X-Received: by 2002:a05:6870:15cb:b0:21f:abc8:d20f with SMTP id k11-20020a05687015cb00b0021fabc8d20fmr6393712oad.33.1709767952592; Wed, 06 Mar 2024 15:32:32 -0800 (PST)
MIME-Version: 1.0
References: <7228A073-F867-4007-BB44-0AA547455539@apple.com> <CAPDSy+5ETu3BeA-0defYYKhLhMZ9f6UE=boxAp7aFwh-RTi9xw@mail.gmail.com> <SA1PR15MB437034E91B1959A206D82482B3792@SA1PR15MB4370.namprd15.prod.outlook.com> <0489428B-16E4-42AF-8224-9054122DD41A@apple.com> <662ECDC0-3B90-443F-BD0F-AF340FD7FEED@meta.com> <CAPDSy+7TEseyJv5TO0BLrdRBpGvjGLOeEqSbZW4JN8xir5c1tg@mail.gmail.com> <8A616C9D-496D-4730-938D-A9BDB1CEBC48@meta.com> <CAPDSy+7Lo0KkeYNsUdbsjoaoN3Dc_pCGabHSuXGXtt31a_Ungg@mail.gmail.com> <4CFF195E-5D02-414D-9C08-A7647CD7A2D0@apple.com> <CAPDSy+6FZ2VDy0AbfMEHOYNmn9oLix2LfGYkKmcLRQTPiskccg@mail.gmail.com>
In-Reply-To: <CAPDSy+6FZ2VDy0AbfMEHOYNmn9oLix2LfGYkKmcLRQTPiskccg@mail.gmail.com>
From: Lucas Pardue <lucaspardue.24.7@gmail.com>
Date: Wed, 06 Mar 2024 23:32:19 +0000
Message-ID: <CALGR9ob0BRCAqxSYsUmuAxQBUfy=RWwUfrt2Ndwnzjko7ar9NQ@mail.gmail.com>
To: David Schinazi <dschinazi.ietf@gmail.com>
Cc: Tommy Pauly <tpauly@apple.com>, Ben Schwartz <bemasc@meta.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="0000000000007673190613065f2f"
X-W3C-Hub-DKIM-Status: validation passed: (address=lucaspardue.24.7@gmail.com domain=gmail.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-4.9
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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: puck.w3.org 1ri0kW-005Lvn-0i efd665217b0262eddec16f3f8215b4ef
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC for draft-ietf-httpbis-connect-tcp
Archived-At: <https://www.w3.org/mid/CALGR9ob0BRCAqxSYsUmuAxQBUfy=RWwUfrt2Ndwnzjko7ar9NQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51866
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>

On Wed, 6 Mar 2024, 23:15 David Schinazi, <dschinazi.ietf@gmail.com> wrote:

> First, to respond to Tommy's chair comment about WGLC: I absolutely agree
> this needs more review. Additionally, I think we should wait for
> implementation experience before sending it to the IESG.
>
> Now, to respond to Tommy's technical points as individual:
>
> When we originally developed the capsule protocol, I was worried about the
> consequences of taking over the data stream. Luckily, there's a
> straightforward solution: we define a DATA capsule - the semantics of all
> DATA capsules is that they are concatenated to create the DATA stream. That
> would allow us to have message content ("body") with methods that rely on
> the capsule protocol.
>
> I hadn't really thought about it in the context of connect-tcp, but I like
> that idea. We could say that connect-tcp always uses the capsule protocol,
> and then uses DATA capsules to encode the CONNECT/TCP bytestream. It's a
> little bit more code on the receiver, and pretty much none on the sender
> (just send a DATA capsule with length=2^61).
>

I think what you're saying is DATA capsules could be used to provide
agility in whether implementations interleave Capsules or not.

A common concern I hear is that any level of framing risks losing an
ability to "splice" the post-CONNECT data stream onto a consumer. That
reduces performance compared to classic CONNECT. I think using a large DATA
capsule adds trivial overhead before deciding if a splice is OK or not -
implementations already have to read HEADERS before switching to that mode.

The nice property of allowing other capsules before switching into a large
DATA, is that it could allow for custom capsule types to exchange metadata
that doesn't fit well in CONNECT-associated headers. For instance, some
binary blob that is larger than typical header size limits on the Internet.

Cheers
Lucas