ignore writes to unwritable sockets - closes #130
This commit is contained in:
parent
66ea0249d8
commit
7a2c428973
@ -96,6 +96,7 @@ p.password = function(password) {
|
||||
};
|
||||
|
||||
p._send = function(code, more) {
|
||||
if(!this.stream.writable) return false;
|
||||
if(more === true) {
|
||||
this.writer.addHeader(code);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user