Comparing version 3.2.0 to 3.2.1
@@ -0,1 +1,4 @@ | ||
# 3.2.1 (2021-02-22) | ||
- Removed pings to server as they violate correct use of the tcp socket passed to httpAgent | ||
# 3.2.0 (2021-02-20) | ||
@@ -2,0 +5,0 @@ - Added TS typings |
@@ -42,4 +42,2 @@ const { EventEmitter } = require('events'); | ||
const remotePing = setInterval(() => remote.write('ping'), 9000); | ||
remote.setKeepAlive(true); | ||
@@ -61,3 +59,2 @@ | ||
clearInterval(remotePing); | ||
remote.end(); | ||
@@ -96,3 +93,2 @@ }); | ||
debug('remote close'); | ||
clearInterval(remotePing); | ||
this.emit('dead'); | ||
@@ -99,0 +95,0 @@ local.end(); |
{ | ||
"name": "mytunnel", | ||
"description": "Expose localhost to the world", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "repository": { |
26763
593