-
Notifications
You must be signed in to change notification settings - Fork 78
Closed
Description
I've run into two different failure situations, one handled well, the other not:
- AJAX requests made while offline to an external server fail immediately with
AJAX request failed; I can handle this, choose toretry, etc; this all works fine. - AJAX requests that are open but then stay open with no activity are stuck in a
Pendingstate forever. For example:- We make a connection, then the network goes down.
- We make a connection, but the server never finishes the request (holds it open, sending no data).
As far as I can tell scenario two is handled by the ontimeout event and the timeout attribute, neither of which Affjax uses.
Have I misunderstood something, or is this something that'd need implementing (either in Affjax itself, or exposing the XHR itself like in #71)? Thanks.
toastal
Metadata
Metadata
Assignees
Labels
No labels