Closed ronag closed 3 years ago
The IncomingMessage response object does not emit ECONNRESET as an 'error', rather it emits an 'aborted' event. http-timer should probably listen to the 'aborted' handler and treat it as an error?
IncomingMessage
ECONNRESET
'error'
'aborted'
Some related reading if interested:
https://github.com/nodejs/node/issues/28172 https://github.com/nodejs/node/pull/28677
Fixed in 4.0.6
4.0.6
The
IncomingMessage
response object does not emitECONNRESET
as an'error'
, rather it emits an'aborted'
event. http-timer should probably listen to the'aborted'
handler and treat it as an error?