Commit Graph

23 Commits (cb0c522b4df2cd84a6f29efe79e1057f00240e8d)

Author SHA1 Message Date
_ f44613540e add the multi-call server
This exe can act as both a PTTH and PTTH_QUIC end server.
It's only 17 MB, which is a big improvement over the 15 + 15 for shipping both servers as their own exes
2021-10-02 18:13:14 +00:00
_ 30f8bbb0aa ♻️ refactor inject CLI args instead of reading them in main 2021-10-02 17:31:06 +00:00
_ 0b10737403 ♻️ refactor: move ptth_server's main into its library so I can make a busybox-style multi-use binary 2021-10-02 17:26:56 +00:00
_ 02b6955a50 🐛 bug: allow `auto-gen-key` to also recreate the file and fix permissions 2021-07-13 16:02:49 -05:00
_ 2f2e4ef64d 📝 document how to run `ptth_server`
This commit also works well on Termux on Android.
2021-07-11 13:12:32 +00:00
_ 6c826b0cc5 ptth_server v2.1.0 will allow custom servers with a user-supplied request handler 2021-05-09 19:40:19 +00:00
_ 3408feb619 ♻️ refactor: move gen_key up to ptth_core 2021-04-09 19:43:15 -05:00
_ 240cd8dff1 ♻️ refactor: extract gen_key pure function 2021-04-09 19:30:45 -05:00
Trisha 02d4362c3b 🏁 build: fix Windows build for ptth_server 2021-03-21 14:07:09 -05:00
_ c1118971b0 add --throttle-upload option 2021-03-21 15:43:15 +00:00
_ 50fc509c8b 🚨 fix a bunch of easy clippy warnings 2021-03-21 03:34:47 +00:00
_ ee1db02b08 ♻️ refactor: use constructor for ConfigFile 2021-03-21 02:49:44 +00:00
_ 456ab04f78 impl auto-gen-key 2021-03-15 20:34:32 +00:00
_ a356d981a8 add file_server_root CLI opt too 2021-03-15 20:02:37 +00:00
_ 56496bf97b add `--name` so caller program can provide name 2021-03-15 19:55:12 +00:00
_ a980d151fc ⬆️ deps: upgrade everything to Tokio 1.2.0
And pretend I didn't completely goober the Docker build somehow
2021-03-06 21:46:35 +00:00
_ e8c020fbc6 Update --print-tripcode option 2020-11-30 16:15:27 +00:00
_ f4b0c64e01 ♻️ Move ptth_file_server into a bin crate so ptth_server can shed some
dependencies
2020-11-29 21:42:03 +00:00
_ d6430e39a9 ♻️ Get rid of more unwraps and panics 2020-11-29 21:38:23 +00:00
_ 7bd2450698 ♻️ Fix pedantic clippy warnings 2020-11-29 20:22:40 +00:00
_ 720aae2201 ♻️ Working on errors for file server and server 2020-11-29 19:19:59 +00:00
_ c3ff3deb8e ♻️ Fix some clippy warnings 2020-11-29 19:05:28 +00:00
_ bbb88c01e8 ♻️ Extract ptth_server crate. Docker still broken 2020-11-27 00:50:22 +00:00