We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 50b1221 + 875236f commit 87dd65fCopy full SHA for 87dd65f
lib/connection.js
@@ -19,7 +19,7 @@ var BINARY_MODE = 1
19
var Connection = function (config) {
20
EventEmitter.call(this)
21
config = config || {}
22
- this.stream = config.stream || new net.Stream()
+ this.stream = config.stream || new net.Socket()
23
this._keepAlive = config.keepAlive
24
this.lastBuffer = false
25
this.lastOffset = 0
0 commit comments