Commit Graph

110 Commits (97147941221ea651c1ca2b63f5600c06dd922a7f)

Author SHA1 Message Date
_ 9714794122 Add trace log for streaming files 2020-11-09 16:33:13 +00:00
_ 4d4a46f167 🐳 2020-11-09 01:06:53 +00:00
_ 116b3b4900 Marking known issues and wrapping up dev for the night 2020-11-09 00:56:29 +00:00
_ 49cd292115 🐛 Allowing spaces in server names 2020-11-09 00:56:29 +00:00
_ f81d819c31 Flip match_prefix args 2020-11-09 00:56:29 +00:00
_ 2b93aa8b83 🐛 Implement 416 Range Not Satisfiable
I had a lot of trouble getting AlwaysEqual to compile, so I tested it in a
completely separate crate and vendored it back into PTTH. It's also AGPLv3.
2020-11-09 00:55:45 +00:00
_ 02da0ff0fc 🐛 Redirect to add trailing slashes for directories 2020-11-08 17:58:14 +00:00
_ 435232bf6c ♻️ Use a prelude to clean up the unused imports for `tracing` 2020-11-08 16:00:31 +00:00
_ c5691d9d05 🐛 Fix the backlinks from servers up to the relay 2020-11-08 15:53:09 +00:00
_ 345fa64ad0 Hide ptth_server.toml with 403 Forbidden 2020-11-08 15:01:15 +00:00
_ f42068db89 🐛 Fix a bug in the backoff and update todo.
Video streaming and seeking is working pretty well now behind Caddy, but
I'm still seeing some lag when Firefox first starts a request.
2020-11-08 03:16:13 +00:00
_ 5fa0bd8584 ♻️ Remove unused `use` statements 2020-11-08 02:38:27 +00:00
_ 8c7f4684b4 Log request paths 2020-11-08 02:37:11 +00:00
_ 70522f851a Add module diagram 2020-11-08 02:36:27 +00:00
_ 27b877e80e 🐳 Update cached version in Dockerfile 2020-11-07 23:10:39 +00:00
_ 151f236a0b 💄 Tweak a few things and update todo 2020-11-07 23:10:01 +00:00
_ e0b8c8cb58 Add forced shutdown to ptth_relay. 2020-11-07 02:29:45 +00:00
_ 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