mirror of
https://github.com/bitinflow/localtunnel.git
synced 2026-03-13 13:35:54 +00:00
Merge pull request #102 from aronwoost/patch-01
Emit socket errors, so they can be handled
This commit is contained in:
@@ -88,6 +88,11 @@ Tunnel.prototype._establish = function(info) {
|
|||||||
self.emit('url', info.url);
|
self.emit('url', info.url);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// re-emit socket error
|
||||||
|
tunnels.on('error', function(err) {
|
||||||
|
self.emit('error', err);
|
||||||
|
});
|
||||||
|
|
||||||
var tunnel_count = 0;
|
var tunnel_count = 0;
|
||||||
|
|
||||||
// track open count
|
// track open count
|
||||||
|
|||||||
Reference in New Issue
Block a user