mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
TLS: check we're not disconnected before Cleartext blow
This commit is contained in:
@@ -233,6 +233,7 @@ CleartextStream.prototype._sucker = function(b) {
|
||||
|
||||
CleartextStream.prototype._blower = function(pool, offset, length) {
|
||||
debug('reading from clearOut');
|
||||
if (!this.pair._ssl) return -1;
|
||||
return this.pair._ssl.clearOut(pool, offset, length);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user