|
30498263fc
|
Convert a "bytes */" + filelen string to a template string
|
2024-08-27 21:39:51 +02:00 |
|
|
189fbdc617
|
Replace Object.assign for arrays with spread operator.
|
2024-08-27 21:14:58 +02:00 |
|
|
b3cd8d699d
|
Replace shallow cloning with deep cloning when needed. Also create deep cloning JavaScript file and corresponding tests
|
2024-08-27 21:09:43 +02:00 |
|
|
3eb7f3d4d9
|
Remove unneeded code
|
2024-08-27 18:45:56 +02:00 |
|
|
bced5927fe
|
Replace ES5-style function in request handler with ES6-style ones
|
2024-08-27 18:23:57 +02:00 |
|
|
0c286bda43
|
Convert "Host name rewritten" message to template string
|
2024-08-27 18:04:32 +02:00 |
|
|
8589f0a6e4
|
Changed URL parser from WHATWG to custom one and adapted code accordingly
|
2024-08-27 18:03:47 +02:00 |
|
|
f247e7a035
|
Use template strings for user agent information log messages
|
2024-08-27 17:43:31 +02:00 |
|
|
fc14cfcc1b
|
Remove some empty lines
|
2024-08-27 16:20:42 +02:00 |
|
|
f739f5dbbe
|
Fix cluster shim for Bun
|
2024-08-27 13:57:58 +02:00 |
|
|
9b01d46907
|
Fix the code for "${name} is running without mods and server-side JavaScript enabled. Web applications may not work as expected" message
|
2024-08-27 12:16:21 +02:00 |
|
|
ff66e26af0
|
Change regular expression for createRegex() function
|
2024-08-27 12:06:23 +02:00 |
|
|
fae1b661ed
|
Fix or ignore all ESLint errors
|
2024-08-27 11:28:24 +02:00 |
|
|
2872be5b5b
|
Lint out the codebase
|
2024-08-27 11:03:51 +02:00 |
|
|
7a14e4508c
|
Remove unused "name" constant in noproxyHandler.js
|
2024-08-27 10:56:49 +02:00 |
|
|
fd5e8ba70e
|
Lint out the codebase
|
2024-08-27 10:55:24 +02:00 |
|
|
5a3e6765f1
|
Replace ES5-style functions with ES6-style ones
|
2024-08-27 10:54:08 +02:00 |
|
|
6f6fb1f89f
|
Fix 500 Internal Server Error related to URL rewriting
|
2024-08-27 09:42:06 +02:00 |
|
|
1c94a990fa
|
Use spread operator and change ES5-style functions to ES6-style ones in cluster shim for Bun
|
2024-08-27 09:31:23 +02:00 |
|
|
4eb2987f01
|
Fix HTML MIME type in cached requests, regardless of the extension
|
2024-08-27 09:27:35 +02:00 |
|
|
33fde81ba1
|
Fix problems with loading .tar.gz mods
|
2024-08-27 09:15:15 +02:00 |
|
|
9a5d43d129
|
Change the ASCII logo
|
2024-08-26 20:01:32 +02:00 |
|
|
2f783ce1a2
|
Lint out the codebase
|
2024-08-26 19:23:52 +02:00 |
|
|
488bee1a95
|
Replace some strings with template strings
|
2024-08-26 19:21:52 +02:00 |
|
|
d92fc14991
|
Remove listenerEmitted flag from HTTP authentication message callback
|
2024-08-26 17:13:48 +02:00 |
|
|
5672c4a3d5
|
Fix static file served with wrong MIME type
|
2024-08-26 13:48:58 +02:00 |
|
|
4299a09c86
|
Change SVR.JS logo
|
2024-08-26 13:46:57 +02:00 |
|
|
d1523cea3c
|
Fix the sendStatistics.js file
|
2024-08-26 13:32:21 +02:00 |
|
|
460829e0be
|
Move code for sending the data to the statistics server to separate utility function
|
2024-08-26 10:14:21 +02:00 |
|
|
686ec4924e
|
Replace ES5-style functions in code for sending data to a statistics server with ES6-style functions
|
2024-08-26 10:03:51 +02:00 |
|
|
f074612dda
|
Replace one more "SVR.JS" with reference to svrjs.json file
|
2024-08-26 09:31:50 +02:00 |
|
|
2e9b0ed1c5
|
Move default SVR.JS-generate page CSS to the separate file
|
2024-08-26 09:30:52 +02:00 |
|
|
25c784181d
|
Don't assign variables to public IP requests
|
2024-08-26 07:58:37 +02:00 |
|
|
914b38e0b0
|
Fix 500 Internal Server Error related to HTTP authentication
|
2024-08-26 07:57:07 +02:00 |
|
|
26fc7f3b08
|
Refactor the index.js file
|
2024-08-26 07:08:31 +02:00 |
|
|
39712a17f4
|
Lint out the codebase
|
2024-08-26 07:06:02 +02:00 |
|
|
1fbede69e5
|
Replace __dirname with process.dirname
|
2024-08-26 07:05:04 +02:00 |
|
|
9b8ccd31fc
|
Remove commented out required modules
|
2024-08-26 07:04:47 +02:00 |
|
|
cbf11e7ed6
|
Replace "SVR.JS" with references to svrjs.json
|
2024-08-26 07:04:21 +02:00 |
|
|
43235f867a
|
Discard unrecognized control messages (worker side)
|
2024-08-26 07:02:26 +02:00 |
|
|
233af94d28
|
Implement sending data to the statistics server
|
2024-08-26 07:01:52 +02:00 |
|
|
ef78a88a39
|
Implement listeningMessage() function, around with public IP obtaining
|
2024-08-26 07:00:08 +02:00 |
|
|
57f9c2ac99
|
Remove "TODO: configuration from config.json" comment
|
2024-08-26 06:37:38 +02:00 |
|
|
1403a37dea
|
Remove notifications about broken mods and server-side JavaScript outside the start function
|
2024-08-26 06:36:57 +02:00 |
|
|
1f043d774a
|
Replace code invoke the start() function with one with error handler
|
2024-08-26 06:35:25 +02:00 |
|
|
83418dbb10
|
Remove "TODO: after implementing clustering in new SVR.JS" comment
|
2024-08-26 06:34:06 +02:00 |
|
|
57bb2293b9
|
Fix "block" and "unblock" commands
|
2024-08-26 06:32:54 +02:00 |
|
|
a02e976dfe
|
Added configuration file saving.
|
2024-08-26 06:26:22 +02:00 |
|
|
87cecd6cf3
|
Remove more TODO comments
|
2024-08-26 06:23:24 +02:00 |
|
|
9d1e6e82ba
|
Remove some TODO comments
|
2024-08-26 06:21:50 +02:00 |
|
|
cc859e0319
|
Enable saving the configuration file when process is exiting
|
2024-08-26 06:20:23 +02:00 |
|
|
601eed5f62
|
Lint out the codebase
|
2024-08-26 06:19:53 +02:00 |
|
|
a82f5ac010
|
Discard unrecognized control messages (main-side)
|
2024-08-26 06:19:27 +02:00 |
|
|
96dfe853d4
|
Implement configuration file saving interval
|
2024-08-26 06:17:51 +02:00 |
|
|
ab98415030
|
Remove commented code snippet that's already in src/handlers/serverErrorHander.js file
|
2024-08-26 06:12:45 +02:00 |
|
|
662528847a
|
Add termination of unused workers.
|
2024-08-26 06:11:19 +02:00 |
|
|
083b2794df
|
Uncomment the code related to sending the "stop" command to workers when Ctrl+C is pressed
|
2024-08-25 20:45:40 +02:00 |
|
|
0eb6cf8c07
|
Fix --single-threaded flag
|
2024-08-25 20:38:35 +02:00 |
|
|
fca7fb78d6
|
Add "restart" command placeholder.
|
2024-08-25 20:37:25 +02:00 |
|
|
4a528120be
|
Fix 3eacbdb397 commit
|
2024-08-25 20:21:48 +02:00 |
|
|
3eacbdb397
|
Add handler for "\x12CLOSE" messages
|
2024-08-25 20:20:15 +02:00 |
|
|
3de85443d5
|
Add server console, and fixed listening error message handler
|
2024-08-25 20:18:35 +02:00 |
|
|
a55b123926
|
Lint out the codebase
|
2024-08-25 19:46:17 +02:00 |
|
|
adfd3ff809
|
Enable hangup check and restart
|
2024-08-25 19:45:02 +02:00 |
|
|
e85f53197c
|
Add "let" before "i=0" for logo iterative loop
|
2024-08-25 19:40:27 +02:00 |
|
|
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 |
|
|
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 |
|
|
eebada191b
|
Lint out the codebase
|
2024-08-25 14:24:18 +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 |
|