[whatwg/streams] Add maxByteLength option to "read all bytes" algo (PR #1254)

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: https://github.com/whatwg/fetch/pull/1600
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/streams/pull/1254

-- Commit Summary --

  * Add maxByteLength option to "read all bytes" algo

-- File Changes --

    M index.bs (13)

-- Patch Links --

https://github.com/whatwg/streams/pull/1254.patch
https://github.com/whatwg/streams/pull/1254.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1254
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/streams/pull/1254@github.com>

Received on Wednesday, 1 February 2023 17:17:00 UTC