mirror of
https://github.com/bitinflow/localtunnel.git
synced 2026-03-13 21:45:54 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ac70515143 | ||
|
|
8d7ccccf21 | ||
|
|
77091b3d93 | ||
|
|
4f4a147b45 |
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user