Compare commits

...

4 Commits

Author SHA1 Message Date
cc38a6d10e 3.0.32 2022-08-01 12:55:01 +02:00
748b07efe2 fix(core): update 2022-08-01 12:55:00 +02:00
be4fd0978a 3.0.31 2022-08-01 12:31:30 +02:00
4521010b82 fix(core): update 2022-08-01 12:31:29 +02:00
4 changed files with 7 additions and 4 deletions

4
package-lock.json generated
View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@pushrocks/smartproxy",
"version": "3.0.30",
"version": "3.0.32",
"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.30',
version: '3.0.32',
description: 'a proxy for handling high workloads of proxying'
}

View File

@ -128,6 +128,7 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
) => {
res.writeHead(statusArg, messageArg);
res.end(messageArg);
res.destroy();
};
console.log(`got request: ${req.headers.host}${plugins.url.parse(req.url).path}`);
@ -200,6 +201,7 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
request.end();
});
req.on('timeout', () => {
req.destroy();
request.end();
})
}
@ -226,6 +228,7 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
});
response.on('timeout', () => {
res.end();
res.destroy()
});
}