fix(core): update

This commit is contained in:
2022-07-30 18:49:14 +02:00
parent 208790cfcf
commit fb66aac6e7
4 changed files with 10 additions and 11 deletions

View File

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

View File

@ -187,7 +187,6 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
},
true, // lets make this streaming
(request) => {
req.setTimeout(60000);
req.on('data', (data) => {
request.write(data);
});
@ -275,7 +274,7 @@ JNj2Dr5H0XoLFFnvuvzcRbhlJ9J67JzR+7g=
this.httpsServer.headersTimeout = 65000;
this.httpsServer.on('connection', (connection: plugins.net.Socket) => {
connection.setTimeout(61000);
connection.setTimeout(60000);
let destroyed = false;
this.socketMap.add(connection);
console.log(`added connection. now ${this.socketMap.getArray().length} sockets connected.`);