From 4f4a147b45b7cc9b4dbae8dc5ffdd4462652b469 Mon Sep 17 00:00:00 2001 From: Roman Shtylman Date: Tue, 31 Dec 2013 17:33:49 -0500 Subject: [PATCH] don't unpipe on local close Pipe will do this for us --- client.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/client.js b/client.js index bd1af1e..bb1bb67 100644 --- a/client.js +++ b/client.js @@ -98,9 +98,6 @@ TunnelCluster.prototype.open = function() { // when local closes, also get a new remote local.once('close', function(had_error) { - remote.unpipe(); - local.unpipe(); - remote.end(); debug('local connection closed [%s]', had_error); }); });