draft-ietf-httpbis-zstd-window-size-00.txt   draft-ietf-httpbis-zstd-window-size-latest.txt 
HTTPBIS Working Group N. Jaju, Ed. HTTPBIS Working Group N. Jaju, Ed.
Internet-Draft Google Internet-Draft Google
Intended status: Informational F. Handte, Ed. Intended status: Informational F. Handte, Ed.
Expires: December 14, 2024 Meta Platforms, Inc. Expires: January 6, 2025 Meta Platforms, Inc.
June 12, 2024 July 05, 2024
Window Sizing for Zstandard Content Encoding Window Sizing for Zstandard Content Encoding
draft-ietf-httpbis-zstd-window-size-00 draft-ietf-httpbis-zstd-window-size-latest
Abstract Abstract
Deployments of Zstandard, or "zstd", can use different window sizes Deployments of Zstandard, or "zstd", can use different window sizes
to limit memory usage during compression and decompression. Some to limit memory usage during compression and decompression. Some
browsers and user agents limit window sizes to mitigate memory usage browsers and user agents limit window sizes to mitigate memory usage
concerns, causing interoperability issues. This document updates the concerns, causing interoperability issues. This document updates the
window size limit in RFC8878 from a recommendation to a requirement window size limit in RFC8878 from a recommendation to a requirement
in HTTP contexts. in HTTP contexts.
skipping to change at page 1, line 36 skipping to change at page 1, line 36
<https://httpwg.org/http-extensions/draft-ietf-httpbis-zstd-window- <https://httpwg.org/http-extensions/draft-ietf-httpbis-zstd-window-
size.html>. Status information for this document may be found at size.html>. Status information for this document may be found at
<https://datatracker.ietf.org/doc/draft-ietf-httpbis-zstd-window- <https://datatracker.ietf.org/doc/draft-ietf-httpbis-zstd-window-
size/>. size/>.
Discussion of this document takes place on the HTTP Working Group Discussion of this document takes place on the HTTP Working Group
mailing list (<mailto:ietf-http-wg@w3.org>), which is archived at mailing list (<mailto:ietf-http-wg@w3.org>), which is archived at
<https://lists.w3.org/Archives/Public/ietf-http-wg/>. <https://lists.w3.org/Archives/Public/ietf-http-wg/>.
Source for this draft and an issue tracker can be found at Source for this draft and an issue tracker can be found at
<https://github.com/https://github.com/httpwg/http-extensions/labels/ <https://github.com/httpwg/http-extensions/labels/zstd-window-size>.
zstd-window-size>.
Status of This Memo Status of This Memo
This Internet-Draft is submitted in full conformance with the This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79. provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet- working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/. Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress." material or to cite them other than as "work in progress."
This Internet-Draft will expire on December 14, 2024. This Internet-Draft will expire on January 6, 2025.
Copyright Notice Copyright Notice
Copyright (c) 2024 IETF Trust and the persons identified as the Copyright (c) 2024 IETF Trust and the persons identified as the
document authors. All rights reserved. document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents Provisions Relating to IETF Documents
(https://trustee.ietf.org/license-info) in effect on the date of (https://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents publication of this document. Please review these documents
skipping to change at page 3, line 19 skipping to change at page 3, line 17
failures to decode responses when the content is compressed with a failures to decode responses when the content is compressed with a
larger Window_Size than the recipient allows, leading to decreased larger Window_Size than the recipient allows, leading to decreased
interoperability. interoperability.
[RFC8878], Section 3.1.1.1.2 recommends that decoders support a [RFC8878], Section 3.1.1.1.2 recommends that decoders support a
Window_Size of up to 8 MB, and that encoders not generate frames Window_Size of up to 8 MB, and that encoders not generate frames
using a Window_Size larger than 8 MB. However, it imposes no using a Window_Size larger than 8 MB. However, it imposes no
requirements. requirements.
This document updates [RFC8878] to enforce Window_Size limits on the This document updates [RFC8878] to enforce Window_Size limits on the
encoder and decoder for the "zstd" content coding. encoder and decoder for the "zstd" HTTP content coding.
2. Conventions and Definitions 2. Conventions and Definitions
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
"OPTIONAL" in this document are to be interpreted as described in "OPTIONAL" in this document are to be interpreted as described in
BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all
capitals, as shown here. capitals, as shown here.
3. Window Size 3. Window Size
 End of changes. 5 change blocks. 
7 lines changed or deleted 6 lines changed or added

This html diff was produced by rfcdiff 1.48. The latest version is available from http://tools.ietf.org/tools/rfcdiff/