Re: Proposal: a new WRAP UP capsule
David Schinazi <dschinazi.ietf@gmail.com> Tue, 09 July 2024 20:51 UTC
Received: by ietfa.amsl.com (Postfix) id 6ECEAC14F700; Tue, 9 Jul 2024 13:51:37 -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 6E1A0C14F6AF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 9 Jul 2024 13:51:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.86
X-Spam-Level:
X-Spam-Status: No, score=-2.86 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, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, 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="cfBwmO1i"; dkim=pass (2048-bit key) header.d=w3.org header.b="jr1VEvNU"; dkim=pass (2048-bit key) header.d=gmail.com header.b="aaeVh5U0"
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 YRVCjq1LW32U for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 9 Jul 2024 13:51:36 -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 C3BC2C14F610 for <httpbisa-archive-bis2Juki@ietf.org>; Tue, 9 Jul 2024 13:51:36 -0700 (PDT)
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=n7yt7jmK0gLIE//xsp5qh9s5rxFvvPBAHwsdS+Jn9vQ=; b=cfBwmO1iocMRdR19dtRNkBWK20 fGxQituDqG9UEW5XMG+7c3+hCovKo3mHMtlhc0+it6gMZWu7lVG/8yh63pScfOElQz3l7XyIYWMuL Ttj1vfcq7MrgxzDQaIVicceosL9KHUiqj5z00mieP/MMCH/3/WjFZbDipIAncG5eU3fJ18DY55sOD E0Dvrsx2rR1wf5r1ib3Y2+a81iXbclrswfRkx8sefUI2cS+mA/KBlYcD5N62FDW2aMADgNr8Og2kr YJ9bCa0AHY/y0g4VVGWCTbwWLZOYaE/FNC8WL6OyUdnAlDXAGCWTvSgA4TayJUgzMW9X561Jnh7nT oIkZpJtQ==;
Received: from lists by mab.w3.org with local (Exim 4.96) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1sRHnS-00EHLG-1R for ietf-http-wg-dist@listhub.w3.org; Tue, 09 Jul 2024 20:50:46 +0000
Resent-Date: Tue, 09 Jul 2024 20:50:46 +0000
Resent-Message-Id: <E1sRHnS-00EHLG-1R@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 <dschinazi.ietf@gmail.com>) id 1sRHnQ-00EHKL-03 for ietf-http-wg@listhub.w3.internal; Tue, 09 Jul 2024 20:50:44 +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=n7yt7jmK0gLIE//xsp5qh9s5rxFvvPBAHwsdS+Jn9vQ=; t=1720558244; x=1721422244; b=jr1VEvNUt4fXfAeq9O8N3CzdEjOPNUvOrB/tOHORNj1YrOCdrbOzABvl81PoItUH3Sv/MJ+TCpx w8cgsGN2wWOdcfjJl0E+MCLnFphw9o1bJZnkOelY0SuiBvBFUlKE1ByuBl1MDST8E8PiTuiwiiOVS YP1Nvjs7KokquBEjHEpDMNd6JmK4tQ41yUO/HJkn81iofi1PWvqffvvU/9UrA/zOtOoPgqzOQZGKR G1WRF4oN8uOS31x8mF9SUs8ZpILyv1kDiwf9AynmThl8lpICKNkLHGwn16q2xFyy3Yp/50StvhHBw /sX7Ij2QuWzKSLygU1qJqhUCfpN7YzppepZA==;
Received-SPF: pass (pan.w3.org: domain of gmail.com designates 2a00:1450:4864:20::534 as permitted sender) client-ip=2a00:1450:4864:20::534; envelope-from=dschinazi.ietf@gmail.com; helo=mail-ed1-x534.google.com;
Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) 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 1sRHnP-006iOE-1M for ietf-http-wg@w3.org; Tue, 09 Jul 2024 20:50:43 +0000
Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-58b0beaf703so6894115a12.2 for <ietf-http-wg@w3.org>; Tue, 09 Jul 2024 13:50:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720558239; x=1721163039; 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=n7yt7jmK0gLIE//xsp5qh9s5rxFvvPBAHwsdS+Jn9vQ=; b=aaeVh5U0I28eXdNiRtBRTmeyqa3uF9BuXcSSZvbhfGt7XYpvWQ+olXjL/3W2WmR7L4 HQ6XK8O2U+CCocQ4xSogOxk7QAEQ2LfT+UHycz/thXuYMydiW2IPB18H2kh0IMWtJmLH ol3MzlrOlxHy204yv5iuwwqeFPskNoBgE00WvW8GwyzMwPFk5p4EJcmpfTjpFkwey620 bTheNmyrNyVIawNDn8q5VmoTwXsRpoDCYpsFlPxixPMjgkVMUkAwvDxTq9qYUP/MzkrN 9KAIJcUkVTSsOPkzcIudpjF/i/JhevIex4wlu6hPjbv0vaBXxs3Fzlsc92H7Awh+fJgz mSwA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720558239; x=1721163039; 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=n7yt7jmK0gLIE//xsp5qh9s5rxFvvPBAHwsdS+Jn9vQ=; b=NM4e/zJ+97PSa5uL213tVfQxZ4BjRa1NU+d06Sf0hCkW76TO3HHzjbqwU7thA2O6iT aoGgmS3m6YcXZQKL2p8PUPVuPhQlkj9JKffjvtyWTxeeFZESUyTZSVPLFMVxNDi3uc/W q0gZQmUAclFvErahPESZbgFKdzYG146VrQW8pwMHDW0tUqnB8pCrT59qijLzShCf03ay WsxbD39RWIwifo7R40FWv+JJ6I8LXrQL22UsdQJ/JjCB8ml0q9csoCEV1/2gjO1+45qO kxZfFRCCXr5o7MJPa7xvRmGqnr+CtE6STDUgSh+7TdsUG+dQ2L04V9GeMst7tEn389A6 HIPQ==
X-Forwarded-Encrypted: i=1; AJvYcCVdkgFDVZMbFm/y0brKUaH0ZO0KB9z531YxUKIHHjM2FYO42H5ys0G2K0mg6eKa/HX/3P4PEAfAHWruoNAmJ6gk36+w
X-Gm-Message-State: AOJu0YzHOb2ET8iwxREaL0KTgnC3rR6IFAnsvBzE0wFgtHlftC7kzOuk juSdu/Cib96z0LhGGJcpb51/lEqzKmJyYmcqvJ2GShrWQLNJKayET45+XakThhpXfXJW9hS/i9L HPqH+z9tpOV6iIlffg9PJTmSeSsWE0Z6c
X-Google-Smtp-Source: AGHT+IEpVRv1eWto4CgJ0YMysjNi1z6gEo9pMs3wtEg6FVJsczEgIgRt1ZkGgnkMdkzLjIyPSd8LhwZVrHtabaWdAG0=
X-Received: by 2002:a17:906:66c9:b0:a77:cf9d:f497 with SMTP id a640c23a62f3a-a780b70513emr230749066b.40.1720558239207; Tue, 09 Jul 2024 13:50:39 -0700 (PDT)
MIME-Version: 1.0
References: <CAPDSy+5UU=GSFWTdrkHW7RXNL8pr5KWtLfp8zjExsZvvGczfEw@mail.gmail.com> <SA1PR15MB4370BBF870827575AA1C05A8B3DF2@SA1PR15MB4370.namprd15.prod.outlook.com> <8ada24df-9941-4a37-b79b-8ef471c5459d@app.fastmail.com> <CAPDSy+6dg9BN7GfBi7RezHLim-cDOTJnusPaRNegcQQ=2KoT4g@mail.gmail.com> <SA1PR15MB43706FB732C8F277D7FE4E78B3DB2@SA1PR15MB4370.namprd15.prod.outlook.com> <2df89bdd-7f14-492f-988f-2e9119ade06c@app.fastmail.com>
In-Reply-To: <2df89bdd-7f14-492f-988f-2e9119ade06c@app.fastmail.com>
From: David Schinazi <dschinazi.ietf@gmail.com>
Date: Tue, 09 Jul 2024 13:50:27 -0700
Message-ID: <CAPDSy+66j0GxoxrVYyWOi5ufv7H4RKoSPKwrWLWsU-4zC79wJg@mail.gmail.com>
To: Lucas Pardue <lucas@lucaspardue.com>
Cc: Ben Schwartz <bemasc@meta.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="000000000000a9d7b8061cd6aead"
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=-6.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, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: pan.w3.org 1sRHnP-006iOE-1M fe583c15397782751c5b4f3270925358
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Proposal: a new WRAP UP capsule
Archived-At: <https://www.w3.org/mid/CAPDSy+66j0GxoxrVYyWOi5ufv7H4RKoSPKwrWLWsU-4zC79wJg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/52064
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 Tue, Jul 9, 2024 at 1:26 PM Lucas Pardue <lucas@lucaspardue.com> wrote: > Hey > > On Tue, Jul 9, 2024, at 20:37, Ben Schwartz wrote: > > I agree, an "I support WRAP UP" signal is not very useful for the *server*. > It's useful for the server *operator*, to try to answer questions like: > > * Do enough of our clients support WRAP UP that we should invest some > effort implementing it? > * Is our implementation of WRAP UP working correctly? > * How long a grace period do we need to offer to reach 99% graceful > termination among supporting clients? > > > I think these are good points. > > Personally, I would measure these things empirically. Supporting graceful > close in general is already a common industry practice. Extending that to > individual requests is a natural evolution. But that's just me, others > might see it differently and require an explicit market intelligence signal. > In my scenario, we control the clients so we can guarantee that they support WRAP_UP. But having the client send it is cheap so I'm ok with adding that signal if we find a real server operator that has a need for it. Sending a capsule is trivial. Gracefully closing is probably where more of > the effort is. But then every server I know has a bunch of limits and > timeouts already. So the additional work might be easy to justify. > > This actually makes me think of a different problem I've observed that is > sort of opposite of David's proposal. Servers detecting idle or slow loris > streams and shutting them down. So spitballing, would there be any benefit > in capsule that could prompt the client to do something more with a stream > or risk it being garbage collected before WRAP UP termination is started. > > For example, a MASQUE server might have timeouts on the egress side based > on packet exchanges. Keeping that socket alive for an idle end-to-end > connection has a cost to the proxy. The proxy is probably not aware of the > tunneled connection properties, such as the e2e QUIC idle timeout. A proxy > closing the socket prematurely has a cost to client and server. To avoid it > can require endpoints to have to send e2e signals (such as a keepalive > packet) when they otherwise might not need to. A client to proxy signal to > register continued interest in an idle flow could, in theory, improve on > this situation. > Oh that's interesting. Yeah I can see value in a DO_STUFF capsule too. David Cheers > Lucas >
- Proposal: a new WRAP UP capsule David Schinazi
- 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 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 Dustin Mitchell
- Re: Proposal: a new WRAP UP capsule Martin Thomson
- Re: Proposal: a new WRAP UP capsule Tommy Pauly
- Re: Proposal: a new WRAP UP capsule David Schinazi