Compare commits

...

2 Commits

Author SHA1 Message Date
williamlardier 9a99a53341
ARSN-277: bump project version 2022-12-16 22:51:23 +01:00
williamlardier b21ca25f8b
ARSN-277: use standard http server 2022-12-16 22:51:23 +01:00
2 changed files with 2 additions and 7 deletions

View File

@ -1,6 +1,5 @@
import * as http from 'http';
import * as https from 'https';
import { https as HttpsAgent } from 'httpagent';
import * as tls from 'tls';
import * as net from 'net';
import assert from 'assert';
@ -410,11 +409,7 @@ export default class Server {
method: 'arsenal.network.Server.start',
port: this._port,
});
this._https.agent = new HttpsAgent.Agent(this._https, {
// Do not enforce the maximum number of sockets for the
// main server, as it might be able to serve more clients.
maxSockets: false,
});
this._https.agent = new https.Agent(this._https);
this._server = https.createServer(this._https,
(req, res) => this._onRequest(req, res));
} else {

View File

@ -3,7 +3,7 @@
"engines": {
"node": ">=16"
},
"version": "8.1.75",
"version": "8.1.76",
"description": "Common utilities for the S3 project components",
"main": "build/index.js",
"repository": {