From d3bdd56660e0ad971ae67866a70da79caf251744 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sun, 31 Jul 2022 08:30:13 +0200 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/smartproxy.classes.networkproxy.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 409301c..8652f06 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@pushrocks/smartproxy', - version: '3.0.29', + version: '3.0.30', description: 'a proxy for handling high workloads of proxying' } diff --git a/ts/smartproxy.classes.networkproxy.ts b/ts/smartproxy.classes.networkproxy.ts index f124112..a4eb4a5 100644 --- a/ts/smartproxy.classes.networkproxy.ts +++ b/ts/smartproxy.classes.networkproxy.ts @@ -281,6 +281,7 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g= if (this.socketMap.checkForObject(connection)) { this.socketMap.remove(connection); console.log(`removed connection. ${this.socketMap.getArray().length} sockets remaining.`); + connection.destroy(); } }; connection.on('close', () => {