Commit Graph

640 Commits (90a8efea716a3e6ae38f07c1053d8d9ec7a6f7c5)

Author SHA1 Message Date
_ f05257d833 🐛 bug fix requests timing out after 40 seconds.
This is such a stupid bug. I swear I checked this exact piece of code for
this exact bug and it wasn't there. But after I fixed it, I had no problem
running a download for 11 hours straight.

This fix won't affect a case where the firewall is actually closing long-
running connections (which is bad behavior, but it could happen) or a case
where the Internet is just flakey and the connection drops.

But it will fix the most common case where both client and server are on
robust connections and the download times out anyway.
2021-03-21 15:43:31 +00:00
_ c1118971b0 add --throttle-upload option 2021-03-21 15:43:15 +00:00
_ 235e134cb2 ♻️ refactor: more clippy lints, and make read_git_version simpler 2021-03-21 03:45:00 +00:00
_ c6b2418a49 ♻️ refactor: split up large function at clippy's behest 2021-03-21 03:40:45 +00:00
_ 50fc509c8b 🚨 fix a bunch of easy clippy warnings 2021-03-21 03:34:47 +00:00
_ f1f13d6e17 ⬆️ deps: new version of dashmap 2021-03-21 03:15:01 +00:00
_ 820099c2ca ⬆️ deps: replace ulid with rusty_ulid so I can drop rand 0.6.x 2021-03-21 03:09:44 +00:00
_ 4dddfb1768 ⬆️ update important crates to Tokio 1.4.0 2021-03-21 03:01:06 +00:00
_ ee1db02b08 ♻️ refactor: use constructor for ConfigFile 2021-03-21 02:49:44 +00:00
_ 453532e48e add listen ID to http_listen 2021-03-16 15:15:16 +00:00
_ 3302411daa ptth_relay: update tokio, trying to find this bug 2021-03-16 14:50:52 +00:00
_ 62821c546b log error for 500 internal server error during 'listen' 2021-03-16 14:39:15 +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
_ 5b7934169b hide unfinished 'dark mode' flag 2021-03-15 19:56:44 +00:00
_ 56496bf97b add `--name` so caller program can provide name 2021-03-15 19:55:12 +00:00
_ 13c1ddc01a 🐛 bug: fix tests not compiling 2021-03-15 19:29:54 +00:00
_ 8a04481236 finish hooking up the unregistered servers page 2021-03-15 19:22:23 +00:00
_ 699cb671ec add unregistered servers page 2021-03-15 19:11:57 +00:00
_ 9648a9853c wip: debug proxy now owns a filter which can drop or modify request bodies 2021-03-06 22:58:23 +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
_ e0f5b229a1 🐳 build: fix Dockerfile 2021-03-06 19:52:04 +00:00
_ 1e42110ae1 ♻️ refactor: extract basic client tests 2021-03-06 19:36:37 +00:00
_ 4838a99288 ♻️ refactor: end_to_end test now uses TestingRelay and TestingServer 2021-03-06 19:30:05 +00:00
_ 8b845b55da ♻️ refactor: extract TestingServer 2021-03-06 19:25:24 +00:00
_ 221732a616 ♻️ refactor: extract TestingRelay 2021-03-06 19:17:42 +00:00
_ 4aa54c32d0 test: add a test that uses debug_proxy 2021-03-06 18:55:05 +00:00
_ 33746d9ace ♻️ refactor: debug_proxy into a lib 2021-03-05 04:03:40 +00:00
_ 27336d8571 add debug_proxy which I can probably use to inject network problems during tests 2021-03-05 03:17:56 +00:00
_ 56a9c0cbeb 🐛 bug: fix missing Git version 2021-02-20 21:34:19 +00:00
_ 6db94d3e4f update: add endless_sink debug tool 2021-02-20 20:25:14 +00:00
_ d3b47d18d1 📦 build: tidy up app_package style deployment 2021-02-20 19:23:00 +00:00
_ aec822ba5f ⬆️ deps: Update to Rust 1.50.0 2021-02-20 19:12:38 +00:00
_ 10465dfb46 🐳 build: set up app package for ptth_relay Docker images 2021-02-20 18:34:57 +00:00
_ 498d69eeb9 update: add throttled endless random garbage 2021-02-20 17:28:39 +00:00
_ 09464c548a update: add endless data source for debugging 2021-02-20 17:08:38 +00:00
_ f53973ddad 🐛 bug: make sure errors are sent to tracing 2021-02-20 16:36:45 +00:00
_ 9a984f5a4e ♻️ refactor: ptth_relay: clean up Handlebars file names 2021-02-20 16:25:30 +00:00
_ 0ffa129937 🚧 wip: add prefix for relay debugging tools 2021-02-20 16:23:12 +00:00
_ b5b6410ff9 update: add bug 2021-02-18 19:08:31 +00:00
_ 43f24e86be 🚧 wip: working on BMC 2021-02-08 22:26:49 +00:00
_ c1fd0edbb2 📦 build: don't print rsync verbose stuff during build 2021-02-01 00:06:22 +00:00
_ 33334afc2b 📦 build: fix determinism in ptth_server builds 2021-01-29 01:12:52 +00:00
_ 2422207d42 📦 build: make build script more machine-friendly 2021-01-28 23:39:59 +00:00
_ 5e18bf8ace update: working on certificates 2021-01-21 23:00:10 +00:00
_ d57fa2e5a4 📦 build: prepare ptth_relay for crates.io 2021-01-20 21:43:20 -06:00
_ 89213ebf8a 📦 build: preparing to publish on crates.io 2021-01-20 21:22:37 -06:00
_ 031b03a13c 🎉 release: bump versions to 1.1.0 for everything in prod
I forgot to set the version in Cargo.toml files for 1.0.0.
I'm not gonna do 0.x versions because this is already live somewhere
and I don't like that 0.x adds complexity to versioning.
2021-01-20 20:49:32 -06:00
_ 2444933122 update: fix Linguist excludes 2021-01-20 20:31:36 -06:00
_ efc90ea29a 📦 build: add a build script just so that everything is in consistent paths 2021-01-20 20:12:04 -06:00