Open gautaz opened 8 years ago
req.on('error', function (err) { if (err) { // do something } })
@likino This is in fact a working way to circumvent the issue. Nonetheless I would still expect timeout to operate in such a case, don't you agree?
Hey I am ready to fix this issue.
Would you consider If I submit PR?
Yes, a fix is welcome.
Hello,
What is the current expected behavior regarding piping a response and setting a timeout? I have tested with some code close to this:
But this does not seem to time out when the server side does not respond.