You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related to #26, but not a duplicate I think since this isn't about the request still living, but rather about the client being able to notice that from his point of view it has been closed.
My use-case is that I catch an error, then want to call req.abort() and handle the error on 'close'.
The text was updated successfully, but these errors were encountered:
Calling
req.abort()
does not emitclose
which is the behavior of Nodejs'shttp
: https://nodejs.org/api/http.html#http_request_destroy_errorRelated to #26, but not a duplicate I think since this isn't about the request still living, but rather about the client being able to notice that from his point of view it has been closed.
My use-case is that I catch an error, then want to call
req.abort()
and handle the error on 'close'.The text was updated successfully, but these errors were encountered: