Merge pull request #586 from solomon23/tls-error
tls socket missing error listener
This commit is contained in:
commit
728b7c9bbf
@ -89,6 +89,10 @@ Connection.prototype.connect = function(port, host) {
|
||||
});
|
||||
self.attachListeners(self.stream);
|
||||
self.emit('sslconnect');
|
||||
|
||||
self.stream.on('error', function(error){
|
||||
self.emit('error', error);
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user