-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enforce payload limits via Fetch API
Beacon requests are allowed to continue while/if a fetch group is being terminated - e.g. as the page unloads. To ensure that such requests do not negatively affect the consequent navigation, or incur high costs for the user, we limit the amount of data that can be queued via this method. The enforcement is applied within Fetch API, which tracks the amount of in-flight data queued with the `keepalive` flag set, and returns a network error if the limit is exceeded. Background: #38
- Loading branch information
Showing
1 changed file
with
81 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters