From 4ac73d2c99a4987c62465c7aa7b0bdd13d2c085e Mon Sep 17 00:00:00 2001 From: isaacs Date: Sat, 2 Mar 2013 11:50:33 -0800 Subject: [PATCH] net: s/closed/ended/ in write-after-fin message --- lib/net.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/net.js b/lib/net.js index 023d30b1737..ca0a53b3e13 100644 --- a/lib/net.js +++ b/lib/net.js @@ -255,7 +255,7 @@ function writeAfterFIN(chunk, encoding, cb) { encoding = null; } - var er = new Error('This socket has been closed by the other party'); + var er = new Error('This socket has been ended by the other party'); er.code = 'EPIPE'; var self = this; // TODO: defer error events consistently everywhere, not just the cb