[whatwg/fetch] Adapt to changes in Streams (#1044)

Fixes #780. Fixes #976. Follows https://github.com/whatwg/streams/pull/1045.

(At least, I think this fixes #976. That's a long issue with lots of text, but this significantly reduces the amount of "in parallel" that happens in upload streaming, so it seems likely to address the problem.)

This should land after https://github.com/whatwg/streams/pull/1045 and needs some updates once it does, so tagging "do not merge yet". But it's ready for review.

The "looping" algorithms could potentially use better names; bikeshed help welcome.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fetch/pull/1044

-- Commit Summary --

  * Adapt to changes in Streams

-- File Changes --

    M fetch.bs (159)

-- Patch Links --

https://github.com/whatwg/fetch/pull/1044.patch
https://github.com/whatwg/fetch/pull/1044.diff

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

Received on Friday, 26 June 2020 17:13:16 UTC