File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2075,9 +2075,9 @@ will be emitted in the following order:
2075
2075
* ` 'socket' `
2076
2076
* (` req.abort() ` called here)
2077
2077
* ` 'abort' `
2078
- * ` 'close' `
2079
2078
* ` 'error' ` with an error with message ` 'Error: socket hang up' ` and code
2080
2079
` 'ECONNRESET' `
2080
+ * ` 'close' `
2081
2081
2082
2082
If ` req.abort() ` is called after the response is received, the following events
2083
2083
will be emitted in the following order:
@@ -2087,10 +2087,10 @@ will be emitted in the following order:
2087
2087
* ` 'data' ` any number of times, on the ` res ` object
2088
2088
* (` req.abort() ` called here)
2089
2089
* ` 'abort' `
2090
+ * ` 'aborted' ` on the ` res ` object
2090
2091
* ` 'close' `
2091
- * ` 'aborted' ` on the ` res ` object
2092
- * ` 'end' ` on the ` res ` object
2093
- * ` 'close' ` on the ` res ` object
2092
+ * ` 'end' ` on the ` res ` object
2093
+ * ` 'close' ` on the ` res ` object
2094
2094
2095
2095
Note that setting the ` timeout ` option or using the ` setTimeout() ` function will
2096
2096
not abort the request or do anything besides add a ` 'timeout' ` event.
You can’t perform that action at this time.
0 commit comments