Re: Fwd: New Version Notification for draft-jaju-httpbis-zstd-window-size-00.txt
Watson Ladd <watsonbladd@gmail.com> Tue, 05 March 2024 06:28 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 DC2B2C151552 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 4 Mar 2024 22:28:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.855
X-Spam-Level:
X-Spam-Status: No, score=-2.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_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="XzxPfnK0"; dkim=pass (2048-bit key) header.d=w3.org header.b="I3PgwZNE"; dkim=pass (2048-bit key) header.d=gmail.com header.b="i5Dfn59B"
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 jt6LnHXWtMRy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 4 Mar 2024 22:28:42 -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 5B157C14F6E9 for <httpbisa-archive-bis2Juki@ietf.org>; Mon, 4 Mar 2024 22:28:42 -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=iPHFDFpeowSyMRjULyboQfoP05b3wuhg8jtl07Vpoqg=; b=XzxPfnK0j7dc5tQhDPSmOVJnlh xzcB9xEbsTt/+fw8KN0n/RGjCUIUYykFva2770bNvSpvbPeZUImmLMikI6EFqjGXAClPnFgGwB6jo /gBktONbv3tMhs+/J0swij4b1yhmm7Y/PGEtEinnh99ls9l9aadjhpSULgJjTpG2ztrScqlIxY4Rt Oye1FMbYVXvWTX8eMlb6uSlm+y/t3t5WRHrcD4v3b46gJy/iQ1FbcOFUYzM4+pvtwKvbHuqhghFya ZtX2RMApWiD3fCHDUqNWYg7QeSYjIpU6wH8u4r6IxZqk/KkSINf2Ii0WP5j39Vu5IiNxsrUZ/Nxuk mWtXMEcw==;
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1rhOFJ-001wlc-Uy for ietf-http-wg-dist@listhub.w3.org; Tue, 05 Mar 2024 06:25:49 +0000
Resent-Date: Tue, 05 Mar 2024 06:25:49 +0000
Resent-Message-Id: <E1rhOFJ-001wlc-Uy@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 <watsonbladd@gmail.com>) id 1rhOFI-001wkW-74 for ietf-http-wg@listhub.w3.org; Tue, 05 Mar 2024 06:25:48 +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=iPHFDFpeowSyMRjULyboQfoP05b3wuhg8jtl07Vpoqg=; t=1709619948; x=1710483948; b=I3PgwZNE4A78w7NC2XRawInZWFVyBt7RumIGhfAw4SR03NgUz8LUNpNeiy8reclehYhRMwDs6wt GA4PWOf7mgMDSyp27/ebh8Trkr5+/FLF7EzK/52vlW0+lhdoMXkeYT0aRHSFdLJpO2SkzvaZCF78K 6QKBtxSwEtywqY89iwR4Ere7bL7vJGoyf0F0AlwITOXAQNyNs7LwgqduzWiLN9PLwLcdcsL3Ewmpk B7fdRBaW21zW5akWme3kMYKofyR38S0Io6afKMWfWlLGU9coVdSvWUqKt/WpUchdlbkItjbBv8swU FvWRbKaDw3s9zNryvIN9LAB4pzzRqU10qlLA==;
Received-SPF: pass (puck.w3.org: domain of gmail.com designates 2a00:1450:4864:20::130 as permitted sender) client-ip=2a00:1450:4864:20::130; envelope-from=watsonbladd@gmail.com; helo=mail-lf1-x130.google.com;
Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by puck.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from <watsonbladd@gmail.com>) id 1rhOFH-004k83-10 for ietf-http-wg@w3.org; Tue, 05 Mar 2024 06:25:48 +0000
Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-512f892500cso3854589e87.3 for <ietf-http-wg@w3.org>; Mon, 04 Mar 2024 22:25:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709619943; x=1710224743; 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=iPHFDFpeowSyMRjULyboQfoP05b3wuhg8jtl07Vpoqg=; b=i5Dfn59Bge0w8TOMfXEoUJcOCRrnLArzmKP6xGLevVdwYZ2AYe8vq/sCaiBPmYbSpz UEYF0ZtWu/R4JXcLHxsIy6Yx1HJ8jNwA4ibpo+RQ6If8LV3x4nV42VenqdSy51LI15A5 OOQrg54k8kyFUC+ChomX5oUh7wPdo3PU5zjmjmjwwk+gsfs9L3wd2+iT1iD+bKCn9c4H 89+eg8fhVILV2PhmIxtTA/xPYJ61ferBFXCdyDqr8txy0Zo8lJm2ifJNZP/idjie3z8a fOg2keuSxwt9TpkUNW4IdjHOKuZpojI0kSiQ1IaP6dEaodEj0TVd1yZ0a4Q4BK1qSVqE 6/lw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709619943; x=1710224743; 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=iPHFDFpeowSyMRjULyboQfoP05b3wuhg8jtl07Vpoqg=; b=qOlzkdBscxSOP/C2naB62miBqlSyChZ/E9KQvfJ/1HL7KmGRlrXn34J9BF4hZ7nR+2 QDwKkH3zcFTpr59oWRgfEjtuhacRdw3OPwG7PSZltYIoZL1B9QMZZqIwKP2OhhlWoIij xvHCZrXS1UVmNgBBwwxbR2mB8PaHUQtgxBCAtN9+3s6WdUOGaN5JA2uVKgL5JN3jaMtf ZEztSW4g4Q+6CwCKZwgVgdI/zl5cJT5jKvWtecbMwSBrymhgt/yRc9d1n96VE1rh1piq ppGjaex+cuRqBAc3q4U8bw1xMz2PcnQO4NkaKPa8+XqNfGlpKWH8VvaMTFtJCAQi0EE1 BC4A==
X-Forwarded-Encrypted: i=1; AJvYcCXxTrphhf195VqM1zuqR1ehclBrXTq9TA+ANWe4ac6qAkHlmCyct2svEtUs8M89xvEcfcIhitaA4MZ07TyTbVlUmx9i
X-Gm-Message-State: AOJu0YzLawchqluqmqE51U91r5nUzlG5+U4ZTV9qAc69/fmIQx3IYwDu owQWyemvlwYg35sQD4QLg1Rd/VEbxf9ngINkIvRTNIi/6d8IOiOYAx56E1xa0SsOXhl/VeVF1TV WELaGFEsY8YeLMLN69kIAku5jFgTzzl7nBlg=
X-Google-Smtp-Source: AGHT+IEU7ZD6PycG+34RdwOJi5vQ8SsFASMIbHOAjUVGJL/AEy8IEkZ2oye0vSdmnwMC2OjuRDGeFZU23JQ/4C3h5jI=
X-Received: by 2002:ac2:434d:0:b0:512:fd2a:872e with SMTP id o13-20020ac2434d000000b00512fd2a872emr512345lfl.18.1709619942672; Mon, 04 Mar 2024 22:25:42 -0800 (PST)
MIME-Version: 1.0
References: <170959112780.45035.16361642801992496075@ietfa.amsl.com> <CAHARgnKx0eFcY5u4sOybbs6YcDFLOPbzBFF4DkP0z3KUt5uHkw@mail.gmail.com> <675f9437-5873-47fb-8865-326b32029aa3@betaapp.fastmail.com> <CAHARgnJUP_7-y9fm-MWVGcMEoq-RibaNaLidHShwdC0LcSsATA@mail.gmail.com>
In-Reply-To: <CAHARgnJUP_7-y9fm-MWVGcMEoq-RibaNaLidHShwdC0LcSsATA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Mon, 04 Mar 2024 22:25:30 -0800
Message-ID: <CACsn0c=fY43Et55zaVTOkRxRWwt5cDLuku3FOdhj9Q4-aW9AAQ@mail.gmail.com>
To: Nidhi Jaju <nidhijaju@google.com>
Cc: Martin Thomson <mt@lowentropy.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="0000000000006253910612e3e9d5"
X-W3C-Hub-DKIM-Status: validation passed: (address=watsonbladd@gmail.com domain=gmail.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-4.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_WL=-1
X-W3C-Scan-Sig: puck.w3.org 1rhOFH-004k83-10 0e3efedbd832b713d464525b2f0d4c59
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Fwd: New Version Notification for draft-jaju-httpbis-zstd-window-size-00.txt
Archived-At: <https://www.w3.org/mid/CACsn0c=fY43Et55zaVTOkRxRWwt5cDLuku3FOdhj9Q4-aW9AAQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51858
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 Mon, Mar 4, 2024 at 8:57 PM Nidhi Jaju <nidhijaju@google.com> wrote: > > Hi Martin, > > Thanks for taking a look and the comments! > > I agree that `Content-Encoding: zstd` should mean that encoders use <= 8MB and decoders support >= 8MB. This is key, and if there's a better way to word that, I'd love suggestions. > > The part that you mentioned about decoders being able to support a different limit was added as an attempt to explain that deployments of zstd operating in a private environment that don't care about interoperability should negotiate it out-of-band. Maybe I could change that text to something along the lines of: > "Decoders that wish to support a lower limit and encoders that wish to emit > frames requiring a larger window size MUST negotiate the limit out-of-band." > > What do you think? Also, do we need to address this case at all? It specifically only applies in situations where endpoints aren't trying to interoperate beyond a short list of peers. The sad fact is that every file will go across the Internet, or some suitably Internety segment of a network at least once and usually many times. Containment is not likely. > > Best, > Nidhi > > On Tue, Mar 5, 2024 at 1:12 PM Martin Thomson <mt@lowentropy.net> wrote: >> >> This seems fine. And 8M is a fine choice of limit. >> >> However, I don't think that ㄟ( ▔, ▔ )ㄏ is a good interoperability strategy: >> >> > Decoders are free to support higher or lower limits, depending on local limitations, if negotiated out-of-band. Many deployments of Zstandard operate in controlled, private environments and can directly communicate with their encoder and decoder to negotiate a higher or lower limit. >> >> I think that it is obvious that decoders could support more. But supporting less would not be following the standard. The same goes for an encoder that wants a larger window. >> >> We should encourage people to choose a different way of identifying that content-coding. In other words, encoding > 8M or decoding < 8M is not Content-Encoding: zstd. >> >> On Tue, Mar 5, 2024, at 14:16, Nidhi Jaju wrote: >> > Hi all, >> > >> > I wrote a draft regarding window sizes in Zstandard Content Encoding >> > that aims to update RFC8878 >> > <https://datatracker.ietf.org/doc/html/rfc8878> to require a specific >> > limit for improved interoperability. >> > >> > For context, we recently shipped zstd Content Encoding support in >> > Chrome 123 and came across incompatibilities in the field where >> > developers were confused when their compressed content was not able to >> > be decoded by Chrome, but was correctly decoded by curl and the zstd >> > CLI. Having an explicit agreed-upon limit would help deployers of zstd >> > to align their implementations and cause less user friction. >> > >> > I believe this topic was also previously discussed at >> > https://lists.w3.org/Archives/Public/ietf-http-wg/2021JulSep/0137.html >> > and >> > https://lists.w3.org/Archives/Public/ietf-http-wg/2023JulSep/0178.html. >> > This was also discussed at the W3C WebPerf WG meeting >> > < https://docs.google.com/document/d/1ijP7yc6UXZVgzpXDVmBa7h70gxLpFcqdlOZzL3DRT_0/edit#heading=h.xn2d3li0b8op > >> > at TPAC 2023. >> > >> > Please let us know what you think. >> > >> > Best regards, >> > Nidhi >> > >> > ---------- Forwarded message --------- >> > From: <internet-drafts@ietf..org <mailto:internet-drafts@ietf.org>> >> > Date: Tue, Mar 5, 2024 at 7:26 AM >> > Subject: New Version Notification for draft-jaju-httpbis-zstd-window-size-00.txt >> > To: W. Felix P. Handte <felixh@meta.com>, Nidhi Jaju < nidhijaju@google.com> >> > >> > >> > A new version of Internet-Draft draft-jaju-httpbis-zstd-window-size-00.txt has >> > been successfully submitted by Nidhi Jaju and posted to the >> > IETF repository. >> > >> > Name: draft-jaju-httpbis-zstd-window-size >> > Revision: 00 >> > Title: Window Sizing for Zstandard Content Encoding >> > Date: 2024-03-04 >> > Group: Individual Submission >> > Pages: 5 >> > URL: >> > https://www.ietf.org/archive/id/draft-jaju-httpbis-zstd-window-size-00.txt >> > Status: >> > https://datatracker.ietf.org/doc/draft-jaju-httpbis-zstd-window-size/ >> > HTML: >> > https://www.ietf.org/archive/id/draft-jaju-httpbis-zstd-window-size-00.html >> > HTMLized: >> > https://datatracker.ietf.org/doc/html/draft-jaju-httpbis-zstd-window-size >> > >> > >> > Abstract: >> > >> > Deployments of Zstandard, or "zstd", can use different window sizes >> > to limit memory usage during compression and decompression. Some >> > browsers and user agents limit window sizes to mitigate memory usage >> > concerns, causing interoperability issues. This document updates the >> > window size limit in RFC8878 from a recommendation to a requirement >> > in HTTP contexts. >> > >> > >> > >> > The IETF Secretariat
- Fwd: New Version Notification for draft-jaju-http… Nidhi Jaju
- Re: Fwd: New Version Notification for draft-jaju-… Martin Thomson
- Re: Fwd: New Version Notification for draft-jaju-… Nidhi Jaju
- Re: Fwd: New Version Notification for draft-jaju-… Martin Thomson
- Re: Fwd: New Version Notification for draft-jaju-… Watson Ladd
- Re: Fwd: New Version Notification for draft-jaju-… Nidhi Jaju