Merge pull request #57 from kesla/handle-etimedout

don't emit ETIMEDOUT-errors
This commit is contained in:
Roman Shtylman committed 2014-08-31 22:57:30 -07:00
commit c2b8f2b7ab
1 file changed
+1 -1
+1 -1
View File
@@ -83,7 +83,7 @@ TunnelCluster.prototype.open = function() {
if (err.code === 'ECONNREFUSED') {
self.emit('error', new Error('connection refused: ' + remote_host + ':' + remote_port + ' (check your firewall settings)'));
}
else {
else if (err.code !== 'ETIMEDOUT') {
self.emit('error', err);
}