Skip to content

Add maxByteLength option to "read all bytes" algo#1254

Open
lucacasonato wants to merge 1 commit intowhatwg:mainfrom
lucacasonato:read_all_limiter
Open

Add maxByteLength option to "read all bytes" algo#1254
lucacasonato wants to merge 1 commit intowhatwg:mainfrom
lucacasonato:read_all_limiter

Conversation

@lucacasonato
Copy link
Copy Markdown
Member

@lucacasonato lucacasonato commented Feb 1, 2023

This commit adds a maxBytesLength option to the "read all bytes" algorithm, that if set, results in an early abort of the algorithm if the resulting byte sequence exceeds the maximum specified byte sequence length during streaming.

This change is editorial.

There is an upstream Fetch spec change that depends on this change: whatwg/fetch#1600


Preview | Diff

This commit adds a `maxBytesLength` option to the "read all bytes"
algorithm, that if set, results in an early abort of the algorithm if
the resulting byte sequence exceeds the maximum specified byte
sequence length during streaming.
@domenic domenic added the needs implementer interest Moving the issue forward requires implementers to express interest label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs implementer interest Moving the issue forward requires implementers to express interest

Development

Successfully merging this pull request may close these issues.

2 participants