Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
1c47eafe5f | |||
69e3a71354 | |||
21e92bf0c1 | |||
d732e6e7aa |
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartproxy",
|
"name": "@pushrocks/smartproxy",
|
||||||
"version": "3.0.15",
|
"version": "3.0.17",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@pushrocks/smartproxy",
|
"name": "@pushrocks/smartproxy",
|
||||||
"version": "3.0.15",
|
"version": "3.0.17",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pushrocks/lik": "^6.0.0",
|
"@pushrocks/lik": "^6.0.0",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/smartproxy",
|
"name": "@pushrocks/smartproxy",
|
||||||
"version": "3.0.15",
|
"version": "3.0.17",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "a proxy for handling high workloads of proxying",
|
"description": "a proxy for handling high workloads of proxying",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@pushrocks/smartproxy',
|
name: '@pushrocks/smartproxy',
|
||||||
version: '3.0.15',
|
version: '3.0.17',
|
||||||
description: 'a proxy for handling high workloads of proxying'
|
description: 'a proxy for handling high workloads of proxying'
|
||||||
}
|
}
|
||||||
|
@ -209,6 +209,15 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
|
|||||||
response.on('end', () => {
|
response.on('end', () => {
|
||||||
res.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;
|
destroyed = true;
|
||||||
connection.destroy();
|
connection.destroy();
|
||||||
console.log(`socket successfully destroyed.`);
|
console.log(`socket successfully destroyed.`);
|
||||||
|
plugins.smartdelay.delayFor(1000).then(() => {
|
||||||
|
connection.removeAllListeners();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const cleanupConnection = () => {
|
const cleanupConnection = () => {
|
||||||
|
Reference in New Issue
Block a user