net: s/closed/ended/ in write-after-fin message
This commit is contained in:
parent
2106ef000c
commit
4ac73d2c99
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user