mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
Merge pull request #1592 from chentsulin/patch-1
use net.Socket instead of net.Stream
This commit is contained in:
commit
87dd65fda5
@ -19,7 +19,7 @@ var BINARY_MODE = 1
|
||||
var Connection = function (config) {
|
||||
EventEmitter.call(this)
|
||||
config = config || {}
|
||||
this.stream = config.stream || new net.Stream()
|
||||
this.stream = config.stream || new net.Socket()
|
||||
this._keepAlive = config.keepAlive
|
||||
this.lastBuffer = false
|
||||
this.lastOffset = 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user