Re: [whatwg/fetch] Add option to automatically abort response stream if the data stopped arriving for longer than a specified time (#180)

The lack of some way to set reasonable timeouts makes this API unusable for Cordova based mobile apps. Users expect their apps to respond in a reasonable time and we need to be able to control this. 

Yes you can use settimeout and then ignore the request but leaving a no longer useful connection open in the background that may waste data is not acceptable for a mobile app where connectivity is potentially flaky, especially if you want to limit the number of connections to your API. 

---
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/issues/180#issuecomment-233207450

Received on Sunday, 17 July 2016 22:17:23 UTC