fix(core): update

This commit is contained in:
Philipp Kunz 2022-07-31 08:30:13 +02:00
parent c38a7c4c32
commit d3bdd56660
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@pushrocks/smartproxy', name: '@pushrocks/smartproxy',
version: '3.0.29', version: '3.0.30',
description: 'a proxy for handling high workloads of proxying' description: 'a proxy for handling high workloads of proxying'
} }

View File

@ -281,6 +281,7 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
if (this.socketMap.checkForObject(connection)) { if (this.socketMap.checkForObject(connection)) {
this.socketMap.remove(connection); this.socketMap.remove(connection);
console.log(`removed connection. ${this.socketMap.getArray().length} sockets remaining.`); console.log(`removed connection. ${this.socketMap.getArray().length} sockets remaining.`);
connection.destroy();
} }
}; };
connection.on('close', () => { connection.on('close', () => {