Commit Graph

19 Commits (d8173e61b534e76134982d40364cb1c3703d7777)

Author SHA1 Message Date
_ ff6e841e0b Markdown preview added to the standalone server, not linked in yet 2020-11-10 02:39:20 +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
_ ec4e0e6335 🐛 Fix graceful shutdown of relay and server in end_to_end test 2020-11-06 18:49:57 +00:00
_ ad79e4ed3c Add Ctrl-C handler 2020-11-02 18:42:00 +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
_ 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
_ 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
_ 55b3e9f520 🚧 Working on handlebars for prettier directories 2020-10-30 21:31:03 -05:00
_ 3b8a58df1d Don't shorten dependency versions, turned out this is pointless 2020-10-30 19:01:08 -05:00
_ 0f092f7213 Test the file server by hashing the AGPL license remotely 2020-10-30 18:36:32 -05:00
_ 2e2e6a5f32 Use percent encoding for spaces in file names 2020-10-30 16:46:03 -05:00
_ 1e86e9735e ♻️ Towards response headers and status code 2020-10-27 21:10:40 -05:00
_ 15b18a9335 🚧 2020-10-27 19:43:23 -05:00
_ 587849bcfa Sending a picture to the client. Streaming works on the server but not yet on the relay 2020-10-27 03:58:50 +00:00
_ 0cc61796c0 Concept is proven, though it won't work for streaming 2020-10-27 03:27:25 +00:00
_ e3aa61bb9a Decided to go straight for the reverse HTTP server idea 2020-10-27 02:49:12 +00:00
_ 394345cfe2 That's long polling 2020-10-27 01:42:10 +00:00