|
f3edbcc3f3
|
Fix the previous commit
|
2024-05-13 17:01:11 +02:00 |
|
|
6c3a5bd9ee
|
Reduced calls to "mime-types" library
|
2024-05-13 16:59:41 +02:00 |
|
|
01d3a18e01
|
Correct the CSS for HTML tables
|
2024-05-06 11:04:05 +02:00 |
|
|
c922ebf1ae
|
Add CSS to default error pages
|
2024-05-06 11:00:54 +02:00 |
|
|
6b75453cb2
|
Clean up the code
|
2024-05-05 22:24:35 +02:00 |
|
|
4453724db7
|
Partially revert previous commit (add blocking calls back due to degraded performance in Bun)
|
2024-05-05 22:23:25 +02:00 |
|
|
45d45c41af
|
Remove blocking calls from custom head and custom foot functionality. Also optimize built-in "vres" callbacks.
|
2024-05-05 22:07:44 +02:00 |
|
|
a1160bd891
|
Replaced wrapper over WHATWG URL API with custom URL parser
|
2024-05-05 21:26:13 +02:00 |
|
|
fa64c763bd
|
Fix syntax error
|
2024-05-03 12:02:18 +02:00 |
|
|
befabe2c9a
|
Remove calls to getCustomHeaders in vres function
|
2024-05-03 12:01:17 +02:00 |
|
|
1226839163
|
Revert previous commit
|
2024-05-01 14:14:12 +02:00 |
|
|
aa6125b891
|
Move nested functions to the bottom of functions
|
2024-05-01 14:12:04 +02:00 |
|
|
255963c954
|
Replaced path.extname function with regex-based custom one. Also remove "pth" variable from static file serving function
|
2024-05-01 12:08:49 +00:00 |
|
|
34fdd89d37
|
Removed blocking calls from directory listing function
|
2024-05-01 07:20:56 +02:00 |
|
|
b51ac3e171
|
Fix all compression algorithms dependent on Brotli
|
2024-04-29 20:08:33 +02:00 |
|
|
934f4dd475
|
Optimized HTTP compression functionality
|
2024-04-29 19:58:39 +02:00 |
|
|
ba3a247e49
|
Fix crashes related to the request ID generation
|
2024-04-29 19:20:17 +02:00 |
|
|
583c66ca3d
|
Fix incompatibilites with Bun
|
2024-04-27 13:51:05 +02:00 |
|
|
7dfdc7209e
|
Errors that occurred while adding SNI context to a server are now ignored.
|
2024-04-27 06:45:16 +02:00 |
|
|
9eb982dc92
|
Add an inspector condition to disabling stdout
|
2024-04-27 06:01:09 +02:00 |
|
|
3839f4d1df
|
When stdout is not a terminal, disable it to improve performance of SVR.JS
|
2024-04-27 05:53:08 +02:00 |
|
|
3a4cefa67a
|
Optimize portions from directory listing function
|
2024-04-24 13:03:53 +02:00 |
|
|
d789fea921
|
Move counter if blocks to another if block
|
2024-04-24 12:58:46 +02:00 |
|
|
4f5f96dfdb
|
Disable OpenSSL EOL notification for Bun (Bun uses BoringSSL)
|
2024-04-24 12:52:32 +02:00 |
|
|
a986d3c523
|
Use os.availableParallelism if it is implemented
|
2024-04-21 19:39:30 +02:00 |
|
|
1ae35a1977
|
Replace (...).indexOf("/") != 0 with (...)[0] != "/"
|
2024-04-21 16:46:01 +02:00 |
|
|
70cb113715
|
Remove duplicate client socket check
|
2024-04-21 16:32:20 +02:00 |
|
|
50be3cb450
|
Fix server crashes with .dirimages
|
2024-04-13 11:13:57 +02:00 |
|
|
ebf996856e
|
Merge branch 'main' of https://git.svrjs.org/svrjs
|
2024-04-13 11:08:56 +02:00 |
|
|
4820db0160
|
Fix .dirimages directory returning 500 error, if it is not present in the web root
|
2024-04-13 11:08:48 +02:00 |
|
|
9b3cb3100d
|
Replaced deprecated "substr" function with "substring"
|
2024-04-10 09:15:23 +02:00 |
|
|
8f67b72bc5
|
Make configJSON.enableCompression conditions consistent
|
2024-04-07 15:52:51 +02:00 |
|
|
98ed9d9242
|
Fix "enableCompression not found" error
|
2024-04-07 15:52:07 +02:00 |
|
|
9576dc6406
|
Fix problems with Brotli compression on Bun
|
2024-04-07 15:31:27 +02:00 |
|
|
8978515e49
|
Change the order of static file serving.
|
2024-04-07 09:27:02 +02:00 |
|
|
86234d4795
|
Optimize check for compressible data
|
2024-04-07 09:25:14 +02:00 |
|
|
80943bf695
|
Remove redundant fs.stat in static file serving function
|
2024-04-07 09:19:45 +02:00 |
|
|
e584cce286
|
Added CVE-2024-27982 notice
|
2024-04-03 18:56:01 +02:00 |
|
|
9bd64cc65a
|
Disabled trailing slash redirection for proxy requests
|
2024-04-02 17:33:21 +02:00 |
|
|
ee568d252e
|
Fix "Can't read property 1 of undefined" error. Also unify crash handlers.
|
2024-04-02 11:21:04 +02:00 |
|
|
2cb4f8f491
|
Change default dontCompress regular expressions
|
2024-04-02 11:00:25 +02:00 |
|
|
6dd689e7d5
|
Update conditions for directory listing icons
|
2024-04-02 10:53:02 +02:00 |
|
|
0fc76179f3
|
Add .mov, .wma and .wmv files
|
2024-04-02 10:37:55 +02:00 |
|
|
b236064a9b
|
Add default file formats not compressed list to SVR.JS itself. Also compressed audio/video file formats to one regular expression
|
2024-04-02 10:35:44 +02:00 |
|
|
e3c1dcea0e
|
Bun's crypto.scrypt doesn't block the event loop that much compared to crypto.pbkdf2
|
2024-04-01 21:48:19 +02:00 |
|
|
9eff118962
|
Change all of the internal calls to "callServerError"
|
2024-03-31 19:15:10 +02:00 |
|
|
51544f5732
|
Sort out the server error description list
|
2024-03-31 19:02:43 +02:00 |
|
|
36e57cfbef
|
Collapse even more errno exit code
|
2024-03-31 18:58:19 +02:00 |
|
|
5638a45e6e
|
Change code for Node.JS builds without crypto library
|
2024-03-31 18:55:27 +02:00 |
|
|
3b7271386c
|
Make server listening error description list an object in the global scope
|
2024-03-31 18:51:39 +02:00 |
|