We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50b1221 commit 875236fCopy full SHA for 875236f
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