Commit Graph

625 Commits (820c5aeef45b4c2e586504008fb720d5f902fb74)

Author SHA1 Message Date
_ 820c5aeef4 bring tests up to date
I definitely remember doing this already. I must have left the changes on
my home PC.
2022-04-22 11:37:20 -05:00
_ 94c5b0117f Merge remote-tracking branch 'employer/main' into main 2022-04-22 11:28:37 -05:00
_ c992da0a8c update Rust used for build 2022-04-12 09:19:08 -05:00
_ 734602244d Merge /run/media/user/Elements/file-jar/ptth 2022-04-12 01:29:46 +00:00
_ b69770870c 🚧 wip: chasing the 30-second download timeout issue 2022-04-11 17:25:18 -05:00
_ 8c731c4cef 🐛 bug: looks like the memory leak for large files might have been in Tokio or reqwest. 2022-04-11 16:56:59 -05:00
_ 4c8521c50a 🐛 bug: fix Content-Length header 2022-04-09 20:47:46 +00:00
_ 39bb4d0137 🔊 log to stderr if the config TOML has an error 2022-04-04 14:59:17 -05:00
Trisha 800dbcb019 add hit counter 2022-03-25 16:39:26 -05:00
Trisha 365c878a90 ♻️ refactor: extract `refresh_label` for GUI 2022-03-25 16:17:09 -05:00
Trisha fb9b0c67f5 add multi-root 2022-03-25 16:14:22 -05:00
Trisha 436adb98ef 🚧 swich to the new routing func 2022-03-25 16:04:51 -05:00
Trisha de5338f4f2 ♻️ refactor: extract routing func 2022-03-25 15:47:34 -05:00
Trisha e6273209f9 🚧 wip: threading the multi-root stuff into the file server module 2022-03-25 15:40:36 -05:00
Trisha 81141e2faf add `file_server_roots` config 2022-03-25 15:30:38 -05:00
Trisha 8c4e7d484c ♻️ refactor: load server GUI config before creating the GUI 2022-03-25 15:24:45 -05:00
Trisha 1d9ef8f510 ⬆️ new FLTK 2022-03-25 14:42:50 -05:00
_ cffb888ac8 add download subcommand 2022-03-25 00:44:43 +00:00
_ c852efb343 add subcommand to generate a random ULID 2022-03-24 23:24:23 +00:00
_ 931ad6d81b 🔇 change logging a little 2022-03-24 22:45:19 +00:00
_ 80bd4abad3 🔊 change logs a bit 2022-02-06 20:03:27 +00:00
_ 6ea8b5c30f 🐛 bug: fix Cache-Control header so Nginx can cache my blog 2022-02-05 17:28:30 +00:00
_ e5d157e1af 🐛 bug: don't send Content-Length to relay if status code is 304 Not Modified
Thanks to Nginx for noticing this
2022-02-05 17:00:17 +00:00
_ 2656d16264 ♻️ refactor: extract `http_listen` fn 2022-02-05 16:52:56 +00:00
_ d96bf801c6 🔇 make logs quieter 2022-02-05 15:57:40 +00:00
_ c47ab6d282 🚧 wip: messing with cache parameters 2022-01-09 00:22:16 +00:00
_ b642142332 🐛 bug: fix content length when byte serving 2021-11-13 21:31:30 -06:00
_ 80f1c21fd0 Merge remote-tracking branch 'origin/main' 2021-11-13 20:29:22 -06:00
Trisha 620ec2fd5b 📝 todo 2021-10-20 15:57:58 -05:00
_ 9f4c26a8b6 📝 update copyright info and link to license and source on important pages 2021-10-20 09:52:21 +00:00
_ d3bd1a78c5 🐛 bug: fix bug in rendering the debug page 2021-10-20 09:52:21 +00:00
_ 1367c257e9 🐛 bug: remove some stuff that prevented `/` from rendering in end servers 2021-10-20 09:52:17 +00:00
Trisha e7e1c07ff0 Merge remote-tracking branch 'github/main' into main 2021-10-19 11:20:52 -05:00
Trisha 33f2891773 increase max port count to 15 2021-10-19 11:19:50 -05:00
Trisha 3a8fdbe6cd ♻️ refactor: extract MAX_PORTS 2021-10-19 11:19:01 -05:00
Trisha 8189bc9769 ⬆️ fltk 1.2.8 2021-10-19 11:17:53 -05:00
Trisha 3c328eb58f 🔊 improve error message 2021-10-19 11:11:12 -05:00
_ 16aaac0965 🐛 bug: used the wrong PathBuf function in resolving the merge 2021-10-14 18:51:12 -05:00
_ 134035f198 Merge remote-tracking branch 'origin/main' 2021-10-14 18:35:31 -05:00
_ 0129f36d2a 🚧 begin building PTTH_DIREC
Working:
- Client sends the first cookie to relay
- Relay learns client's WAN address

Next steps:
- Associate PTTH_DIREC state with QUIC connection so we can track it / destroy
it all at once
- P3 asks P4 to accept PTTH_DIREC connection
2021-10-11 01:59:08 +00:00
_ 6c5dff4685 📝 2021-10-10 23:53:21 +00:00
_ 1226016150 🐛 bug: cap the number of forwarded ports at 5
If I want to access the same end server from multiple relays (like a LAN relay
or a backup cloud relay) then the relay address should be explicitly
_excluded_ from the eph port computation
2021-10-10 23:52:38 +00:00
_ e6cf9e2b72 💄 change it to just pick a client port automatically.
This is a lot less thinking for the user. (such as me)
2021-10-10 21:20:35 +00:00
_ 34873dff43 allow `0` to mean "The OS should pick an available TCP port for us to listen to" 2021-10-10 20:42:17 +00:00
_ b71d4c16a1 ♻️ refactor: use `add_port` in initialization, too 2021-10-10 19:55:52 +00:00
_ 17ed6cc4c5 💄 you can now add more ports, but it's still not useful 2021-10-10 19:51:25 +00:00
_ 227c9f7ba4 🚧 add useless "add port" button 2021-10-10 19:44:45 +00:00
_ bfb96e2475 🚨 clippy warnings 2021-10-10 19:39:50 +00:00
_ 63f9dcef97 💄 redo the GUI with `Flex`
This is way better
2021-10-10 19:37:58 +00:00
_ de248f2382 🚨 cargo check warning 2021-10-10 18:32:12 +00:00