test: fix test-http-extra-response flakiness
It can happen that the extra response is to be sent in a different chunk from the rest of the data. At this moment, the client might have already closed the socket causing an `ECONNRESET` error. PR-URL: https://github.com/nodejs/node/pull/4979 Reviewed-By:Brian White <mscdex@mscdex.net> Reviewed-By:
James M Snell <jasnell@gmail.com>
parent
68a6abc8
Please register or sign in to comment