mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
send correct termination code
This commit is contained in:
parent
cf5bcaa140
commit
5152cfea14
@ -58,7 +58,7 @@ p.connect = function() {
|
||||
};
|
||||
|
||||
p.disconnect = function() {
|
||||
var terminationBuffer = new Buffer([58,0,0,0,4]);
|
||||
var terminationBuffer = new Buffer([88,0,0,0,4]);
|
||||
this.stream.write(terminationBuffer);
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user