Commit graph

28 commits

Author SHA1 Message Date
7c791ee1c2 add mkv mimetype 2024-07-09 21:03:49 +02:00
b2f8b9a195 add README.md 2024-05-27 22:17:32 +02:00
c7711a0408 print date and time when connection is established 2024-05-27 22:03:46 +02:00
59ab02b472 serve html files without needing to write the .html extension (GET /thing is will return /thing.html if it exists) 2024-05-25 18:39:42 +02:00
6f0484f26b log user agents 2024-04-27 21:20:10 +02:00
0ba58d98e2 limit open connections 2024-04-27 16:41:24 +02:00
9170e7f7f8 parse X-Real-IP for use behind reverse proxy 2024-04-27 16:36:33 +02:00
f3484c9473 replace html table with preformatted monospace text 2024-04-20 14:13:54 +02:00
9f9130698b accept requests using only linefeeds 2024-03-26 20:11:16 +01:00
331129fc06 exclude symlinks from index 2024-03-26 20:03:46 +01:00
46a42710e1 add missing .mov content type 2024-03-26 19:55:20 +01:00
b27b952359 set root dir with argument 2024-03-26 19:55:08 +01:00
864f94ba5d parse percent-encoded URLs to support paths containing spaces or unicode characters 2024-03-26 19:46:17 +01:00
7a392e9c6c convert index to table and show file size 2024-03-25 23:12:37 +01:00
22faeed7f0 better logging 2024-03-25 22:27:27 +01:00
210e24415e omit .. for root index 2024-03-25 16:01:48 +01:00
7f37d4a775 work around weird canonicalize() behaviour on windows 2024-03-25 14:45:38 +01:00
702a1dc024 fix unix specific fs code 2024-03-25 14:22:06 +01:00
ccdaa1a966 content streaming through partial file requests 2024-03-24 18:15:39 +01:00
1c5824a6fb sort index 2024-03-23 22:50:03 +01:00
c408a56830 overhaul; generate directory index 2024-03-23 22:40:09 +01:00
ecadce6730 add rustfmt 2024-03-23 18:03:21 +01:00
83d8ffa0ff load files or something, this is really old code 2024-03-23 18:03:05 +01:00
3683f37943 cleanup 2022-06-11 05:38:09 +02:00
fdbd3903ce add cargo config for static linking 2022-06-05 20:45:42 +02:00
5c5496fbb7 add argument for port and ip, cleanup 2022-06-05 20:45:19 +02:00
403b15dfd9 remove cargo.lock 2022-06-04 20:11:03 +02:00
9f01e334e1 init 2022-06-04 19:22:41 +02:00