Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lucacasonato
Copy link
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant