4 Commits

Author SHA1 Message Date
Roman Shtylman
ac70515143 0.2.2 2014-01-09 11:07:18 -05:00
Roman Shtylman
8d7ccccf21 remove local.unpipe() on remote close
This will happen automatically.

close #28
2014-01-09 11:06:58 -05:00
Roman Shtylman
77091b3d93 0.2.1 2013-12-31 17:34:04 -05:00
Roman Shtylman
4f4a147b45 don't unpipe on local close
Pipe will do this for us
2013-12-31 17:33:49 -05:00
2 changed files with 1 additions and 5 deletions

View File

@@ -72,7 +72,6 @@ TunnelCluster.prototype.open = function() {
function remote_close() {
self.emit('dead');
local.unpipe();
local.end();
};
@@ -98,9 +97,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);
});
});

View File

@@ -2,7 +2,7 @@
"author": "Roman Shtylman <shtylman@gmail.com>",
"name": "localtunnel",
"description": "expose localhost to the world",
"version": "0.2.0",
"version": "0.2.2",
"repository": {
"type": "git",
"url": "git://github.com/shtylman/localtunnel.git"