mirror of https://github.com/lukechilds/node.git
Browse Source
In some conditions it can happen that the client-side socket is destroyed before the server-side socket has gracefully closed, thus causing a 'ECONNRESET' error in this socket. To solve this, wait in the client-side socket for the 'end' event before closing it. PR-URL: https://github.com/nodejs/node/pull/4043 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>process-exit-stdio-flushing
Santiago Gimeno
9 years ago
committed by
James M Snell
1 changed files with 9 additions and 2 deletions
Loading…
Reference in new issue