|
@ -313,6 +313,8 @@ CryptoStream.prototype._pull = function() { |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (tmp.length == 0) continue; |
|
|
|
|
|
|
|
|
var rv = this._puller(tmp); |
|
|
var rv = this._puller(tmp); |
|
|
|
|
|
|
|
|
if (this.pair._ssl && this.pair._ssl.error) { |
|
|
if (this.pair._ssl && this.pair._ssl.error) { |
|
@ -358,7 +360,7 @@ CleartextStream.prototype._pendingBytes = function() { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CleartextStream.prototype._puller = function(b) { |
|
|
CleartextStream.prototype._puller = function(b) { |
|
|
debug('writng from clearIn'); |
|
|
debug('clearIn ' + b.length + ' bytes'); |
|
|
return this.pair._ssl.clearIn(b, 0, b.length); |
|
|
return this.pair._ssl.clearIn(b, 0, b.length); |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|