4 Commits

Author SHA1 Message Date
Roman Shtylman
006ce7733b v1.4.0 2014-08-31 22:59:17 -07:00
Roman Shtylman
624d279c26 History: update 2014-08-31 22:58:43 -07:00
Roman Shtylman
c2b8f2b7ab Merge pull request #57 from kesla/handle-etimedout
don't emit ETIMEDOUT-errors
2014-08-31 22:57:30 -07:00
David Björklund
4d9dcc1711 don't emit ETIMEDOUT-errors 2014-08-28 20:12:09 +02:00
3 changed files with 7 additions and 3 deletions

View File

@@ -1,3 +1,7 @@
# 1.4.0 (2014-08-31)
* don't emit errors for ETIMEDOUT
# 1.2.0 / 2014-04-28
* return `client` from `localtunnel` API instantiation

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

View File

@@ -2,7 +2,7 @@
"author": "Roman Shtylman <shtylman@gmail.com>",
"name": "localtunnel",
"description": "expose localhost to the world",
"version": "1.3.0",
"version": "1.4.0",
"repository": {
"type": "git",
"url": "git://github.com/shtylman/localtunnel.git"
@@ -22,4 +22,4 @@
"lt": "./bin/client"
},
"main": "./client.js"
}
}