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

David Schinazi <dschinazi.ietf@gmail.com> Thu, 07 March 2024 18:14 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 78591C14F5FF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 7 Mar 2024 10:14:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.855
X-Spam-Level:
X-Spam-Status: No, score=-7.855 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_DNSWL_HI=-5, 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, URIBL_BLOCKED=0.001, 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="V3MAerKW"; dkim=pass (2048-bit key) header.d=w3.org header.b="kUOK1UQP"; dkim=pass (2048-bit key) header.d=gmail.com header.b="im11CW3k"
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 Sfznv7LrdLLD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 7 Mar 2024 10:14:12 -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 80FC2C14F5F4 for <httpbisa-archive-bis2Juki@ietf.org>; Thu, 7 Mar 2024 10:14:12 -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=SgrnnhyM3zEAPlYwx54HW/o6vxpsnvk1qQzJAFa6+Sk=; b=V3MAerKWE4djaxQfUKUytc7nn8 aQjVDpxt6T/19Dik4qXU4LIfFHmzRkoI8qeuMJj+rtEfu3hJCu5NpqEotZh69Tgh8D5MmXLEGEuZ9 fjpOr9o5ufSgJJ17zCiIBCf3fqN4Su4cPatqfE5XN1/uU5gt2kzemBoSX3tzPTEC6C0rzoB2gv4VM /d66BkLFBOUmwEUgboO7SycjBxJLcbSCjFAp/nDzQH7TeFrvmmSsuUZ3OnwUg5B8wM3qQpVi32wJw URPsuS+iZOfYy/I0I+LWGjcxoUAiKj3H+EGIceATjWaamUXshUecgXccm48bk1WguJhgfxPNlrknk 04ptchZQ==;
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1riIFl-008yWg-8Z for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Mar 2024 18:14:01 +0000
Resent-Date: Thu, 07 Mar 2024 18:14:01 +0000
Resent-Message-Id: <E1riIFl-008yWg-8Z@lyra.w3.org>
Received: from pan.w3.org ([3.222.182.102]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <dschinazi.ietf@gmail.com>) id 1riIFj-008yVd-FU for ietf-http-wg@listhub.w3.org; Thu, 07 Mar 2024 18:13:59 +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=SgrnnhyM3zEAPlYwx54HW/o6vxpsnvk1qQzJAFa6+Sk=; t=1709835239; x=1710699239; b=kUOK1UQPdpOhs6lCxAxMA3yWMNEAe0P4eYtdLhunIPbhIYeytt7OdYBOLRwPnlrH0goTEUx99zQ KfP24jdpZfxUljoDacym6iv9WrXBBT4K3ZWde7+fP4eldh7UhTEbF4Ie66CkpDWPJR6B4iilQudAG p3tSDDlntmNMHe7EaJCwVD5V2rlGOGvchZBSDB4AoNlwiatFimrBUemADBERr9y/O2jif9WWfXFd0 ulBdEjfWxPb3S5ovxuGUyxkc4dsLP+VkiHKfFvz3J6QjKOuKnN7onVqKWlVOASotrniT8EQu8qDGm y0GWuvA9Kdc/ub3B9N2gSO/hZWqITYkkSVAQ==;
Received-SPF: pass (pan.w3.org: domain of gmail.com designates 2a00:1450:4864:20::529 as permitted sender) client-ip=2a00:1450:4864:20::529; envelope-from=dschinazi.ietf@gmail.com; helo=mail-ed1-x529.google.com;
Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by pan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from <dschinazi.ietf@gmail.com>) id 1riIFi-008SuJ-2E for ietf-http-wg@w3.org; Thu, 07 Mar 2024 18:13:59 +0000
Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-565c6cf4819so4312015a12.1 for <ietf-http-wg@w3.org>; Thu, 07 Mar 2024 10:13:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709835235; x=1710440035; 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=SgrnnhyM3zEAPlYwx54HW/o6vxpsnvk1qQzJAFa6+Sk=; b=im11CW3kZi66zAGSbAE8XUh1Fdja//E6WN/eTj24zL+kAZsGcU90eB2qWuD+yJg8Z3 lG4UVfEPvytF9Ix+AzrHXaQUoR0S8Rr7Xh2OFla2i7KdbS0lgPtFceoQ4sqUeiy+DUaS GBF2AMDIt3lEMDKo9S9IB3+kpWOoSNmIag3orikY52MEQij3TBcU45s1420cAeqixxE7 5vIsBV2TebJJeRwBHzj8jEteVz4anb4JRbhLB8Y2Tihe2cArwR6gHdFWBO8S2yD+swIT um112mFRtxJQOIozSLGl2PkfZoju2WqojBETtVzfPEBz0FgCECPqwwQtIHWgH4raicGz VRwg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709835235; x=1710440035; 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=SgrnnhyM3zEAPlYwx54HW/o6vxpsnvk1qQzJAFa6+Sk=; b=qvxDVAcvSNjcoPtXN2SKMyydsFwOvPG1v24AZfGm11CzLPNJ50J2eMWluIzO6dIgDB yvQvxEzv9i5uxhnoOcpuGws3AaUQ22qztWd/BegOukZREVyDxNffdgv3zcB8yKH9mFR3 H8Z5pHZa0byLHsGw7VqHCB/NCsHgI29U0jhjiiktP5pHC4Siq07SSEx7w7EQ6iAfL+MQ tuKlOtRfE0X49l8qZEovH1rBMefIXGkxjIFK/Xe0k5TfEm0dsYURpCW5BdKm1IvlrBh2 cYuuUVLyxg9kSOXjZwPkRdW0jfK9ZtAewN0Gxeljvfy1B4uukk8kTCkJrFBP1w1q3XXW 9NJA==
X-Forwarded-Encrypted: i=1; AJvYcCV8NZgRXesGznmZfoSlMfODTngvGrvvWMHekRmAMNe1v9ArWuWSizHWeqCng8e13dYXf8YFqCeQpb2qiAN8VAQE8UVa
X-Gm-Message-State: AOJu0Yz5G1FFRmtCZ6uPD5EFomkrG8JY/EuULELZmg3TcT03rOCpN/wg o1gLzLbuuJZrrIWUx9jraov7At6f//fjfDC3kLOH4I6eBw5D//Puy0Yak3srm2IP3zOCTr0WgKo bHk0KKu20SM+oJbecXPetlLDQb6I=
X-Google-Smtp-Source: AGHT+IFrQDPFiV9/ARl4LLA53UPoPZM0vrehPjXJbaKjRW5Wd9Kx7WRJRhiTq/rbhLUtfQ9n7WnztuBzH3YDLjRD/m4=
X-Received: by 2002:a17:906:d9c9:b0:a45:a9ce:f814 with SMTP id qk9-20020a170906d9c900b00a45a9cef814mr923204ejb.15.1709835234603; Thu, 07 Mar 2024 10:13:54 -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> <CALGR9ob0BRCAqxSYsUmuAxQBUfy=RWwUfrt2Ndwnzjko7ar9NQ@mail.gmail.com> <SA1PR15MB4370403D574E866985DFDEC7B3202@SA1PR15MB4370.namprd15.prod.outlook.com> <CALGR9oYV6qUFyh+tSo7BbuiEUSUQwDU4hauFjMTiMozCD=AeSA@mail.gmail.com> <19A54D73-8D9D-47EB-8289-80038E77817F@meta.com>
In-Reply-To: <19A54D73-8D9D-47EB-8289-80038E77817F@meta.com>
From: David Schinazi <dschinazi.ietf@gmail.com>
Date: Thu, 07 Mar 2024 10:13:42 -0800
Message-ID: <CAPDSy+4bnS5HBSvevhhNh4YNGx4SmCU0meOEJ6_+MX+_xi7UZA@mail.gmail.com>
To: Ben Schwartz <bemasc@meta.com>
Cc: Lucas Pardue <lucaspardue.24.7@gmail.com>, Tommy Pauly <tpauly@apple.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="000000000000c87a2106131609d4"
X-W3C-Hub-DKIM-Status: validation passed: (address=dschinazi.ietf@gmail.com domain=gmail.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-9.1
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_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, URIBL_BLOCKED=0.001, 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 1riIFi-008SuJ-2E e4a782ccd5d90a714bde4e655ca954e1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC for draft-ietf-httpbis-connect-tcp
Archived-At: <https://www.w3.org/mid/CAPDSy+4bnS5HBSvevhhNh4YNGx4SmCU0meOEJ6_+MX+_xi7UZA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51871
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>

The capsule protocol was designed with this in mind. Receivers that don't
know about the DATA capsule will treat it as an unknown capsule and stream
it without buffering. Receivers that implement it will know that DATA is
special. All we need is an "Updates: 9297" tag to override this MUST.

David

On Thu, Mar 7, 2024 at 9:27 AM Ben Schwartz <bemasc@meta.com> wrote:

>
>
> On Mar 7, 2024, at 12:18 PM, Lucas Pardue <lucaspardue.24.7@gmail.com>
> wrote:
> Hey,
>
> On Thu, 7 Mar 2024, 17:00 Ben Schwartz, <bemasc@meta.com> wrote:
>
> ...
>
> As an example of the complexity, note that all uses of the Capsule
>> Protocol to date are "atomic": each capsule is expected to be buffered and
>> processed as a whole.  In this thread we've heard proposals to introduce
>> new capsule types that the recipient must process in "streaming" fashion.
>> This mix of atomic and streaming capsules is a new wrinkle in the Capsule
>> Protocol.
>>
>
> FWIW the capsule protocol spec highlights this and normatively recommends
> streaming https://datatracker.ietf.org/doc/html/rfc9297#section-3.2-12.
>
>
> I think that’s slightly different.  Implementations SHOULDN’T buffer the
> capsule “in the data stream”, but nothing there recommends against
> buffering the message outside of the stream before processing it.
>
> By my reading, the “infinite capsule trick” proposed in this thread would
> actually be malformed:
> https://datatracker.ietf.org/doc/html/rfc9297#section-3.3-3.  The sender
> is supposed to know the exact length of each capsule before it is sent, so
> capsules cannot really be streamed.
>
> —Ben
>