From 82aeffd67ca11779cf491c5150db8934ac3b6eb7 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 21 Jun 2018 20:16:08 +0000 Subject: [PATCH 1/2] bugfix tcp disconnect --- lib/relay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/relay.js b/lib/relay.js index 95de678..c6b3278 100644 --- a/lib/relay.js +++ b/lib/relay.js @@ -460,7 +460,7 @@ var Server = { try { srv.portsMap[portnumber].close(function () { console.log("[DynTcpConn] closing server for ", portnumber); - delete srv.portMap[portnumber]; + delete srv.portsMap[portnumber]; delete PortServers[portnumber]; }); } catch(e) { /*ignore*/ } From 06cc7bbaeb8cfd3f740f810b88192570f89cc65b Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 21 Jun 2018 20:16:39 +0000 Subject: [PATCH 2/2] v0.13.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5204a92..2b89e05 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "telebit-relay", - "version": "0.13.0", + "version": "0.13.1", "description": "Friends don't let friends localhost. Expose your bits with a secure connection even from behind NAT, Firewalls, in a box, with a fox, on a train or in a plane... or a Raspberry Pi in your closet. An attempt to create a better localtunnel.me server, a more open ngrok. Uses Automated HTTPS (Free SSL) via ServerName Indication (SNI). Can also tunnel tls and plain tcp.", "main": "lib/relay.js", "bin": {