-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Catch when nodejs request is aborted
When we receive a request, we start listening to the close event on the response. When fired, we check if the request was aborted using `incoming.destroyed`, if it was, we dispatch an abort event to the existing request abort signal. Without this, whe the client abortes the request, the signal on the request was not being called with the abort event. Signed-off-by: m4rc3l05 <[email protected]>
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters