mirror of
https://github.com/bitinflow/localtunnel.git
synced 2026-03-19 08:25:54 +00:00
don't unpipe on local close
Pipe will do this for us
This commit is contained in:
@@ -98,9 +98,6 @@ TunnelCluster.prototype.open = function() {
|
|||||||
|
|
||||||
// when local closes, also get a new remote
|
// when local closes, also get a new remote
|
||||||
local.once('close', function(had_error) {
|
local.once('close', function(had_error) {
|
||||||
remote.unpipe();
|
|
||||||
local.unpipe();
|
|
||||||
remote.end();
|
|
||||||
debug('local connection closed [%s]', had_error);
|
debug('local connection closed [%s]', had_error);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user