question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disable timeout for browsers without `uploadProgress` capability

See original GitHub issue

As noted by the OP in #945 EdgeHTML versions 15.15063 to 18.18218 fail any upload that takes more than 30 seconds.

Could we use the new capabilities.uploadProgress from #1184 to disable timeout for these clients?

Another strategy could be to polyfill the missing Edge behavior (periodically check bytes-uploaded field from XHR instance and manually trigger change event) but that might be a bit too intrusive.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
arturicommented, Jan 15, 2019

Thank you! 😃

1reaction
goto-bus-stopcommented, Dec 10, 2018

Thinking about it responseText.length won’t work because that’s the response size, not the upload size 😅

Read more comments on GitHub >

github_iconTop Results From Across the Web

Does browser timeout on huge request? - Stack Overflow
Assume the server has no limit on the size of file upload, it just keeps engulfing data. Will the browser work earnestly for...
Read more >
The Power of Axios - Bits and Pieces
However, Axios provides a range of advanced features not known by many ... for upload progress; Response timeout; Ability to cancel requests ...
Read more >
XMLHttpRequest vs the Fetch API for Ajax - SitePoint
Weighing up whether to keep using XMLHttpRequest vs the Fetch API's modern take? We look at the pros and cons of both options....
Read more >
Runtime Configuration - Manual - PHP
Note that this is not supported by all browsers. An empty value means that no ... See Session Upload Progress for more details...
Read more >
XMLHttpRequest - The Modern JavaScript Tutorial
XMLHttpRequest is a built-in browser object that allows to make HTTP ... no Content-Length } }; xhr.onerror = function() { alert("Request ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found