-
Notifications
You must be signed in to change notification settings - Fork 341
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 a limited size buffer for streaming upload in HTTP request. #1204
Conversation
Ping? |
LGTM. Can you update the PR title? @annevk: do you want to take a look at this? |
I'm concerned about this not having an upper bound as I wrote in #538 (comment). I think there should be an upper bound. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this looks good modulo a couple tiny nits.
Co-authored-by: Anne van Kesteren <annevk@annevk.nl>
Co-authored-by: Anne van Kesteren <annevk@annevk.nl>
We probably need to say explicitly that a network error is returned if you need to resend and the buffer became useless? Also, let's file an issue against web-platform-tests outlining what would be needed to test this. Other than that we're good I think. |
Done both. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made some final tweaks, does this still look good to you @yoichio?
LGTM. |
(See WHATWG Working Mode: Changes for more details.)
This fixes #538.
Preview | Diff