Compare commits

...

4 Commits

Author SHA1 Message Date
1c47eafe5f 3.0.17 2022-07-30 17:32:59 +02:00
69e3a71354 fix(core): update 2022-07-30 17:32:58 +02:00
21e92bf0c1 3.0.16 2022-07-30 17:26:36 +02:00
d732e6e7aa fix(core): update 2022-07-30 17:26:35 +02:00
4 changed files with 16 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@pushrocks/smartproxy",
"version": "3.0.15",
"version": "3.0.17",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@pushrocks/smartproxy",
"version": "3.0.15",
"version": "3.0.17",
"license": "MIT",
"dependencies": {
"@pushrocks/lik": "^6.0.0",

View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartproxy",
"version": "3.0.15",
"version": "3.0.17",
"private": false,
"description": "a proxy for handling high workloads of proxying",
"main": "dist_ts/index.js",

View File

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

View File

@ -209,6 +209,15 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
response.on('end', () => {
res.end();
});
response.on('error', () => {
res.end();
});
response.on('close', () => {
res.end();
});
response.on('timeout', () => {
res.end();
});
}
);
@ -265,6 +274,9 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
destroyed = true;
connection.destroy();
console.log(`socket successfully destroyed.`);
plugins.smartdelay.delayFor(1000).then(() => {
connection.removeAllListeners();
});
}
}
const cleanupConnection = () => {