1
0
Fork 0
forked from svrjs/svrjs
Commit graph

570 commits

Author SHA1 Message Date
9db7ffdaec Add reqcounterKillReq variable 2024-08-25 19:39:49 +02:00
99583731d9 Move getWorkerCountToFork and forkWorkers functions to global scope 2024-08-25 19:37:22 +02:00
4f565d1550 Add addListenersToWorker() function 2024-08-25 19:35:58 +02:00
a92616b0a4 Partially implemented clustering. 2024-08-25 19:28:20 +02:00
1f5602626a Add stop command 2024-08-25 19:23:01 +02:00
b36a301e03 Add close and open commands. 2024-08-25 19:20:15 +02:00
85debce9c9 Lint out the codebase 2024-08-25 19:17:54 +02:00
0ea53fdf96 Lint out the codebase, add SVRJSFork() function, networking-related code, and ipSubnetUtils.js utility functions file and corresponding unit tests 2024-08-25 19:17:19 +02:00
2c990a6907 Lint out the codebase 2024-08-25 18:59:16 +02:00
2c271bccdc Add portions of real start() function, and logo resource JavaScript file. 2024-08-25 18:57:46 +02:00
54de936aae Lint out the codebase 2024-08-25 18:02:18 +02:00
bdc11fa3dc Replace var's with const's in OCSP stapling handler 2024-08-25 18:02:02 +02:00
9b03abc646 Add OCSP stapling support 2024-08-25 17:59:52 +02:00
95416f4604 Lint out the codebase 2024-08-25 17:58:01 +02:00
58cb60fb8f Change the way of adding process message listeners, and add process message listener to server error handler. 2024-08-25 17:57:23 +02:00
45815957d5 Create the server error handler and temporary startup script. 2024-08-25 17:51:25 +02:00
489ec9741a Add process.serverConfig.productName 2024-08-25 17:15:40 +02:00
67658ad329 Lint out the codebase 2024-08-25 17:15:00 +02:00
eaafa8cc41 Add certificate and SNI loading. 2024-08-25 17:11:31 +02:00
b758e11513 Add secondary HTTP server and handlers for primary HTTP server 2024-08-25 17:04:49 +02:00
7b4612e8b0 Move commands in index.js 2024-08-25 16:51:25 +02:00
98c36d2b64 Add commands 2024-08-25 16:47:26 +02:00
a241af753e Server crashes now results in exit code of 1 if errno is not specified. 2024-08-25 16:35:19 +02:00
984c94cd00 Lint out the codebase 2024-08-25 16:25:25 +02:00
44e4c15b30 Fix parsePostData function in legacy mod wrapper. 2024-08-25 16:24:34 +02:00
21b5f46e9e Add process exit and crash handlers. 2024-08-25 16:23:16 +02:00
6958ec6c94 Remove commented out addMiddleware function. 2024-08-25 15:55:36 +02:00
7d4dcdd2a6 Fix problems executing SVR.JS 2.x and 3.x mods, and server-side JavaScript 2024-08-25 15:53:45 +02:00
6302bb0044 Fix problem with hexstrbase64 2024-08-25 15:50:56 +02:00
8d825403b9 Add default server-side JavaScript from SVR.JS 3.15.6 to assets directory. 2024-08-25 15:48:12 +02:00
f05fb50625 Add support for SVR.JS 2.x and 3.x server-side JavaScript. 2024-08-25 15:47:12 +02:00
23508a5292 Added support for SVR.JS 2.x and 3.x mods. 2024-08-25 15:40:53 +02:00
85e15e0517 Change ESLint configuration to use CommonJS modules instead of ES modules. 2024-08-25 14:27:22 +02:00
eebada191b Lint out the codebase 2024-08-25 14:24:18 +02:00
6461728eee Fix the description for URL parser test suite 2024-08-25 14:14:22 +02:00
88554a05d2 Modify the description for URL parser test suite 2024-08-25 14:13:27 +02:00
2884c33c8c Rename urlParser files to urlParserLegacy 2024-08-25 14:12:13 +02:00
aa4e4d0c15 Add "Load SVR.JS mods as middleware" comment. 2024-08-25 14:05:19 +02:00
9d0a156c46 Add mod loader 2024-08-25 14:02:45 +02:00
ed71618856 Lint out SHA256 function 2024-08-25 13:18:19 +02:00
b5de4b79c5 Make generateServerString() function replace spaces in name property of svrjs.json with dashes. 2024-08-25 13:13:16 +02:00
7decde6b58 Lint out the codebase 2024-08-25 13:10:28 +02:00
fcec27fee1 Replace "SVR.JS" with references to svrjs.json file 2024-08-25 13:09:58 +02:00
04ab80cc95 Lint out the codebase 2024-08-25 12:56:36 +02:00
b79e165bed Change proxy handler to end the socket with 500 Internal Server Error only when it is not destroyed. 2024-08-25 12:55:34 +02:00
5b91c21973 Add CONNECT request (proxy request) handler. 2024-08-25 12:54:36 +02:00
ddae2e468e Fix Cannot assign to "currentMiddleware" because it is a constant error. 2024-08-25 12:38:15 +02:00
4b02efdeba Add proxySafe flag to middleware. 2024-08-25 12:37:14 +02:00
fb7c5ed854 Move core middleware to the request handler. 2024-08-25 12:33:11 +02:00
988ff7c29c Lint out the codebase 2024-08-25 11:57:45 +02:00