1
0
Fork 0
forked from svrjs/svrjs
Commit graph

595 commits

Author SHA1 Message Date
bbb8a6f899 Replace "request" with "req" and "response" with "res" 2023-08-31 23:03:02 +02:00
4a138f73d8 Add virtual host support 2023-08-31 22:47:07 +02:00
e490f8341b Fix modFunction 2023-08-29 15:44:01 +02:00
71d1970571 Cleaned up SVR.JS code 2023-08-29 15:03:13 +02:00
1ebf19d768 Fixed non-working blacklist 2023-08-29 14:56:39 +02:00
10f9e1b5f2 Add reverse DNS lookup support 2023-08-28 03:44:04 +02:00
94a7b319f6 Fixed server crashes while one of two ports are in use 2023-08-25 00:26:51 +02:00
2d266bf1b3 Map ENAMETOOLONG to 414 code 2023-08-21 19:38:38 +02:00
54ba71212b Pull from SVR.JS 3.7.1 2023-08-21 19:32:31 +02:00
e6c1194086 Fixed checkEXT again 2023-08-19 23:18:52 +02:00
bfcc88a4dd Fixed checkEXT function 2023-08-19 23:16:27 +02:00
d31d47bbcd Rewritten some of for loops to use forEach instead. 2023-08-19 22:38:58 +02:00
e7e232f6e7 Restored easter eggs to easteregg.tar.gz mod, which can be deleted. Also change unused worker kill interval. 2023-08-19 21:19:18 +02:00
fba0012690 Removed some easter eggs, to prevent SVR.JS version fingerprinting... 2023-08-19 21:03:05 +02:00
b96d39cb3e Disabled open proxy in default server-side JavaScript 2023-08-18 23:55:36 +02:00
aedbd134f8 Add option to rewrite "dirty" URLs 2023-08-18 23:29:18 +02:00
bd475a2e8e Fixed redirect loops related to URL sanitizer 2023-08-18 21:54:58 +02:00
47a793b958 Added scrypt support for HTTP authentication 2023-08-18 21:35:09 +02:00
d93511e97b Enable use of PBKDF2-hashed passwords 2023-08-15 19:05:44 +02:00
f8cc7e45cd Optimize credential match checking 2023-08-15 14:04:29 +02:00
cbbf8ab79b EMFILE errors now correspond to 503 Service Unavailable error code. 2023-08-13 00:43:21 +02:00
028606fb15 Fix redirect loop with "[" and "]". 2023-08-12 17:40:42 +02:00
86d424f906 Add config.json option to disable termination of unused workers 2023-08-12 13:37:06 +02:00
e4332e858c Improved error handling for Bun even more. 2023-08-12 13:23:59 +02:00
f0193b5933 Improve server error handling for Bun. 2023-08-12 12:47:48 +02:00
61dead9b4a Improved extension checking function and corrected 503 error description 2023-08-12 12:35:46 +02:00
f37a565ca1 Changed descriptions of 501 and 503 errors. 2023-08-12 12:07:33 +02:00
Dorian Niemiec
986c883327 Improve Bun fake IPC connections error handling. 2023-08-10 04:20:30 +02:00
Dorian Niemiec
7820c5aade Fix Bun cluster shim and mitigate Bun segmentation faults 2023-08-10 04:01:50 +02:00
Dorian Niemiec
8ca945cdbd Fixed master spawning other masters while SVR.JS is run in Bun 0.7.x. 2023-08-10 03:16:52 +02:00
Dorian Niemiec
7cc4dbf4d2 Fix cluster NotImplementedError when running SVR.JS on newer versions of Bun. 2023-08-10 02:03:23 +02:00
Dorian Niemiec
3d4acae311 Make SVR.JS gracefully exit on "stop" command. 2023-08-10 01:14:10 +02:00
Dorian Niemiec
08cc0ac042 Improved minimum thread count calculation algorithm even further. Also disabled x-svr-js-from-main-thread requests from non-localhost clients. 2023-08-09 23:03:16 +02:00
Dorian Niemiec
889207e6a2 Disabled checking for hung up server processes, while SVR.JS is not listening yet. Also improved minimum thread count calculation algorithm. 2023-08-09 22:37:53 +02:00
Dorian Niemiec
6515a54471 Disabled killing workers, when server is closed. 2023-08-09 21:58:21 +02:00
Dorian Niemiec
68a42ccde8 Fixed bug with Can't execute command "KILLREQ". 2023-08-09 21:23:50 +02:00
Dorian Niemiec
e6a25d931c Add termination of unused workers. 2023-08-09 21:09:23 +02:00
Dorian Niemiec
1138b6bdf6 Replace "isMaster" with "isPrimary", and shim "isPrimary" when it's not available. 2023-08-09 18:01:36 +02:00
Dorian Niemiec
aa630cbd0d Changed all references for stable version to git master branch 2023-08-06 04:07:04 +02:00
Dorian Niemiec
d15373aa8e Improved reliability while loading server-side JavaScript. 2023-08-04 21:19:23 +02:00
svrjs
d4e230fda1 Fixed bug with directory listing generating invalid HTML with custom head containing <i>&lt;html&gt;</i> tag with attributes. 2023-08-03 14:33:56 +02:00
svrjs
97519d6cd4 Fixed bug with ENOTDIR error (was 500, now it's 404) and with forbidden path checker. 2023-08-02 23:54:07 +02:00
sysadmin
1162acad9f Update with SVR.JS 3.6.1 2023-07-29 20:44:13 +02:00
sysadmin
eab4122ef5 Add node_modules 2023-07-29 20:33:28 +02:00
sysadmin
e122e7a6ae Initial commit 2023-07-29 20:32:17 +02:00