Commit 795eeb1c authored by Santiago Gimeno's avatar Santiago Gimeno Committed by Rich Trott
Browse files

test: fix test-tls-zero-clear-in flakiness

It can happen that the server-side socket is destroyed before the
client-side socket has gracefully closed, thus causing a 'ECONNRESET'
error in this socket. To solve this, also close gracefully in the server
side too.

PR-URL: https://github.com/nodejs/node/pull/4888


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarFedor Indutny <fedor@indutny.com>
Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
parent efd33a2a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment