[whatwg/fetch] Enforce limit on inflight keepalive bytes (#419)

Requests with keepalive flag set are allowed to outlive the environment
settings object. We want to make sure that such requests do not
negatively impact the user experience when a page is unloaded, etc.

This limits the amount of (body) bytes that can be inflight at any point
when the request has the keepalive flag set; this flag is set by
sendBeacon.

Background: https://github.com/w3c/beacon/pull/39
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * enforce limit on inflight keepalive bytes

-- File Changes --

    M fetch.bs (13)

-- Patch Links --

https://github.com/whatwg/fetch/pull/419.patch
https://github.com/whatwg/fetch/pull/419.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/419

Received on Wednesday, 23 November 2016 20:17:05 UTC