ignore writes to unwritable sockets - closes #130

This commit is contained in:
brianc 2012-05-30 22:41:51 -05:00
parent 66ea0249d8
commit 7a2c428973

View File

@ -96,6 +96,7 @@ p.password = function(password) {
}; };
p._send = function(code, more) { p._send = function(code, more) {
if(!this.stream.writable) return false;
if(more === true) { if(more === true) {
this.writer.addHeader(code); this.writer.addHeader(code);
} else { } else {