Commit Graph

193 Commits (32e48697d58d7257f6f09c5138104e59d9f46979)

Author SHA1 Message Date
_ 9e134d55aa 🎉 Add forced shutdown fallback to graceful_shutdown module 2020-11-07 02:26:34 +00:00
_ f02e12aecc 🐛 Add forced shutdown to ptth_file_server. 2020-11-07 01:40:29 +00:00
_ 75177cec80 🚧 Guess it's a bug in hyper.
You can't gracefully shutdown while a client is connected.
2020-11-07 01:34:58 +00:00
_ 32798e8250 🚧 Still hunting a bug where the relay can't shut down if Firefox
is connected
2020-11-07 00:30:56 +00:00
_ e0298a5289 🐛 Working on a bunch of bugs and error handling 2020-11-06 23:43:52 +00:00
_ 3786cec8ab 🚧 Add a bunch more logging / tracing 2020-11-06 20:55:55 +00:00
_ 5626ecc05c Update todo 2020-11-06 18:49:57 +00:00
_ b6f6987eec Update todo 2020-11-06 18:49:57 +00:00
_ 851b895873 🐛 Turns out I had the modules all wrong. This one works good 2020-11-06 18:49:57 +00:00
_ d8010cf33c ♻️ Graceful shutdown is now a oneshot for both relays and servers 2020-11-06 18:49:57 +00:00
_ 50393e60a0 ♻️ 2020-11-06 18:49:57 +00:00
_ 7d5a491c98 ♻️ Remove Option<> 2020-11-06 18:49:57 +00:00
_ ec4e0e6335 🐛 Fix graceful shutdown of relay and server in end_to_end test 2020-11-06 18:49:57 +00:00
_ 6b772ad512 ♻️ Remove some unused code 2020-11-06 18:49:57 +00:00
_ 95a038f7af Running for real. Lots of todos added 2020-11-06 18:49:57 +00:00
Trisha Earley a96c82dea4 🐛 Add content-length header when POSTing a response to the relay 2020-11-06 18:47:04 +00:00
_ 690f07dab6 Add QUIC plan 2020-11-03 13:11:20 +00:00
_ daecac8554 Update readme 2020-11-03 01:20:24 +00:00
_ 4a1e1a7c23 🐛 Fixes for actual use 2020-11-02 19:17:22 +00:00
_ aad8ffdedd 🐛 Don't build credentials into the Docker image 2020-11-02 18:59:35 +00:00
_ ad79e4ed3c Add Ctrl-C handler 2020-11-02 18:42:00 +00:00
_ d41422ac6e 🐳 🐛 Fix SSL depends for Docker build 2020-11-02 18:11:27 +00:00
_ 0a3ca71c2d Fix make-old-git perms 2020-11-02 18:08:02 +00:00
_ e99ace3ca0 🐳 Add Git version printout when ptth_relay launches 2020-11-02 18:07:34 +00:00
_ 04cfaf75e1 🐳 Work on Docker build 2020-11-02 18:02:01 +00:00
_ 16984ddcd3 Split up the prefixes for frontend and servers so we can separate auth easier 2020-11-02 17:44:04 +00:00
_ b352f459c7 Scrubbed my email 2020-11-02 17:14:09 +00:00
_ 9681b74a1c Going to try scrubbing my email from history 2020-11-02 17:06:56 +00:00
_ 11d6471612 Update todo 2020-11-02 17:05:31 +00:00
_ aabd51cba6 Update todo and readme 2020-11-02 15:51:13 +00:00
_ 26eb395f18 Move `relay_url` into the server config TOML too 2020-11-02 14:41:22 +00:00
_ 1de6c0aca7 The server will now error out if it detects that its own password is weak 2020-11-02 14:23:08 +00:00
_ 903d5f338d Working on README. The relay will now error out if 2 servers share a tripcode 2020-11-02 13:52:27 +00:00
_ 189ae7abd7 🐛 Don't create new rendezvous points for unknown servers.
Also improve error reporting when loading config files
2020-11-02 13:37:08 +00:00
_ b1b37ee696 Update todo 2020-11-02 13:16:57 +00:00
_ dfa3689565 Update todo 2020-11-01 22:13:38 -06:00
_ c5ecf4bc88 Add another layer in the URI to make room for future features 2020-11-01 22:07:55 -06:00
_ 13117e4237 Add tripcodes for a little security 2020-11-01 21:34:50 -06:00
_ e7edf84282 🐛 Fix rendezvous problem.
Now clients can queue up for a server, which fixes a few things:

- A server can receive multiple requests at once, reducing roundtrip
count in theory
- Clients can wait up to 30 seconds on the relay before the server
is ready for them
- If the server has just left to service a request, the client will
queue instead of seeing the server as absent and giving up
2020-11-01 20:07:46 -06:00
_ 067e240ff4 🚧 I'm gonna try to fix the rendezvous problem 2020-11-01 18:13:12 -06:00
_ c056118798 Set up CLI flags to manually test 2 servers at once 2020-10-31 22:17:11 -05:00
_ 063e79d217 🚨 Add license to Cargo.toml and fix up clippy stuff 2020-10-31 21:59:02 -05:00
_ b673fa94c7 🚧 Split up watchers into client and server 2020-10-31 21:53:09 -05:00
_ 15a62a5e2a 🚧 Trying to fix the issue where clients don't wait on servers 2020-10-31 20:21:53 -05:00
_ 41e5f99688 update todo 2020-10-31 16:00:13 -05:00
_ f57777c72f Add server list page 2020-10-31 15:46:38 -05:00
_ 9244953e57 ♻️ Extract load_templates fn for file server 2020-10-31 12:56:36 -05:00
_ bf48eb2dbd Update todo 2020-10-31 16:53:38 +00:00
_ be53772337 🎉 Add parent directory link.
I was way overthinking this one.
2020-10-31 15:46:24 +00:00
_ 0572de2ad0 💄 Make directory indexes prettier 2020-10-31 15:28:27 +00:00