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
Slightly different case than #2716, but it ends up the same root cause where the underlying client.connection.stream issues end when the connection fails, and so calling client.end hangs as the end event has already fired. The fix in #2717 fixes this bug as it adds a flag around detecting if the end event was fired. 👍
Given the following code:
The
end()
call will hang indefinitely. I've seen this happen with at leastENOTFOUND
andECONNREFUSED
errors.The text was updated successfully, but these errors were encountered: