fix(core): update

This commit is contained in:
Philipp Kunz 2022-08-01 12:31:29 +02:00
parent bd1f1a4c1c
commit 4521010b82
2 changed files with 3 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.30', version: '3.0.31',
description: 'a proxy for handling high workloads of proxying' description: 'a proxy for handling high workloads of proxying'
} }

View File

@ -200,6 +200,7 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
request.end(); request.end();
}); });
req.on('timeout', () => { req.on('timeout', () => {
req.destroy();
request.end(); request.end();
}) })
} }
@ -226,6 +227,7 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
}); });
response.on('timeout', () => { response.on('timeout', () => {
res.end(); res.end();
res.destroy()
}); });
} }