mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
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…
x
Reference in New Issue
Block a user