projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2106ef0
)
net: s/closed/ended/ in write-after-fin message
author
isaacs
<i@izs.me>
Sat, 2 Mar 2013 19:50:33 +0000
(11:50 -0800)
committer
isaacs
<i@izs.me>
Sat, 2 Mar 2013 19:50:33 +0000
(11:50 -0800)
lib/net.js
patch
|
blob
|
history
diff --git
a/lib/net.js
b/lib/net.js
index
023d30b
..
ca0a53b
100644
(file)
--- 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
clos
ed by the other party');
+ var er = new Error('This socket has been
end
ed by the other party');
er.code = 'EPIPE';
var self = this;
// TODO: defer error events consistently everywhere, not just the cb