Merge pull request #586 from solomon23/tls-error

tls socket missing error listener
This commit is contained in:
Brian C 2014-05-08 09:49:37 -04:00
commit 728b7c9bbf

View File

@ -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);
});
});
};