fix(core): update
This commit is contained in:
@ -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'
|
||||
}
|
||||
|
@ -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.`);
|
||||
|
Reference in New Issue
Block a user