fix(core): update

This commit is contained in:
Philipp Kunz 2022-07-30 22:29:31 +02:00
parent b80b8a0a20
commit d3d476fd53
2 changed files with 4 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.25', version: '3.0.26',
description: 'a proxy for handling high workloads of proxying' description: 'a proxy for handling high workloads of proxying'
} }

View File

@ -296,6 +296,9 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
connection.on('end', () => { connection.on('end', () => {
cleanupConnection(); cleanupConnection();
}); });
connection.on('timeout', () => {
cleanupConnection();
})
}); });
this.httpsServer.listen(this.options.port); this.httpsServer.listen(this.options.port);