Skip to content

Uploads get aborted while in progress #1374

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

Closed
DenysVuika opened this issue May 14, 2018 · 0 comments
Closed

Uploads get aborted while in progress #1374

DenysVuika opened this issue May 14, 2018 · 0 comments

Comments

@DenysVuika
Copy link

We experience a serious issue with the library (3.8.2) with regards to the Upload functionality.

For large files or slow networks the requests get aborted on the timeout while upload technically is in progress. This can be easy reproduced when with Chrome DevTools and network throttling, on "Slow 3G" the 40 mb file gets aborted at the beginning (I believe after 6-10 seconds).

Uploading the same file using vanilla JS and network settings works fine. Upload can keep up for half an hour or so.

I believe the issue might be related to how you handle the "responseTimeoutTimer" and the fact it is not reset for the "upload.onprogress" (https://github.com/visionmedia/superagent/blob/master/lib/client.js#L692)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant