Commit graph

1156 commits

Author SHA1 Message Date
Joakim Frostegård
6b1b5bf191 http: move various definitions from common.rs to request.rs 2022-03-23 21:30:03 +01:00
Joakim Frostegård
a348fcfd2d http: rewrite retain function 2022-03-23 21:24:53 +01:00
Joakim Frostegård
9b85fa31d1
Merge pull request #55 from greatest-ape/2022-03-20
Fixes, dependency updates
2022-03-20 21:00:11 +01:00
Joakim Frostegård
b16647c8dd README: move memlock stuff down to Running header 2022-03-20 20:47:39 +01:00
Joakim Frostegård
a9f1aeb70c Add crate keywords, update descriptions 2022-03-20 20:41:56 +01:00
Joakim Frostegård
ba5a568bcd Switch from "simplelog" from "simple_logger" to remove "chrono" dep 2022-03-20 20:19:23 +01:00
Joakim Frostegård
83987563ec udp: replace dependency "chrono" with "time" 2022-03-20 19:57:44 +01:00
Joakim Frostegård
6197d120a6 Run cargo update
Updating cpufeatures v0.2.1 -> v0.2.2
    Updating crossbeam-channel v0.5.3 -> v0.5.4
    Updating futures-rustls v0.22.0 -> v0.22.1
    Updating libc v0.2.120 -> v0.2.121
2022-03-20 19:44:16 +01:00
Joakim Frostegård
894cb215ea Update TODO 2022-03-20 19:43:14 +01:00
Joakim Frostegård
5176b18ef9 common: rename AHashIndexMap to AmortizedIndexMap 2022-03-20 19:42:46 +01:00
Joakim Frostegård
9e49cb0bca http: default to max_scrape_torrents = 100 2022-03-20 19:37:01 +01:00
Joakim Frostegård
1d67575fba http: config file: put default values after struct definitions 2022-03-20 19:36:13 +01:00
Joakim Frostegård
6d8646351c http: implement connection cleaning 2022-03-20 19:34:53 +01:00
Joakim Frostegård
66dd92e575 Update TODO 2022-03-20 18:48:07 +01:00
Joakim Frostegård
fd704b6412 http: implement network.only_ipv6 and network.tcp_backlog 2022-03-20 18:44:38 +01:00
Joakim Frostegård
06a716f78a ws: implement network.only_ipv6 and network.tcp_backlog 2022-03-20 18:41:41 +01:00
Joakim Frostegård
ae03cfcd03
Merge pull request #53 from greatest-ape/2022-03-18
aquatic_ws: remove mio implementation, update dependencies
2022-03-18 16:01:45 +01:00
Joakim Frostegård
07cc575e39 ws: sort dependencies alphabetically 2022-03-18 15:51:56 +01:00
Joakim Frostegård
688d68105b http, http_protocol: upgrade smartstring from 0.2 to 1.0 2022-03-18 15:51:20 +01:00
Joakim Frostegård
66232df6d2 ws: remove pub visibility where not needed 2022-03-18 15:47:14 +01:00
Joakim Frostegård
193ad1689f ws: move code from common.rs into lib.rs and request.rs 2022-03-18 15:45:07 +01:00
Joakim Frostegård
50be6acd22 Fix CI workflow 2022-03-18 15:34:40 +01:00
Joakim Frostegård
cb563ee37e Adjust scripts/run-aquatic-ws.sh now that there is no mio version 2022-03-18 15:29:08 +01:00
Joakim Frostegård
fbd3ce17b7 Run cargo update 2022-03-18 15:21:18 +01:00
Joakim Frostegård
b4c07e5005 README: update to account for removal of mio version of aquatic_ws 2022-03-18 15:18:13 +01:00
Joakim Frostegård
667cf04085 ws: remove mio implementation 2022-03-18 15:15:34 +01:00
Joakim Frostegård
065e007ede
Merge pull request #52 from greatest-ape/work-2022-02-20
fix udp ipv6 issues; other improvements
2022-02-20 12:52:22 +01:00
Joakim Frostegård
0f60ffbb75 udp load test: minor performance improvements 2022-02-20 12:07:28 +01:00
Joakim Frostegård
e9ced08547 README: fix typos 2022-02-20 01:58:00 +01:00
Joakim Frostegård
e938351a9e udp: set default max_scrape_torrents=70, max_response_peers=50 2022-02-20 01:47:03 +01:00
Joakim Frostegård
3785e57513 Sort dependencies in Cargo.toml files 2022-02-20 01:44:34 +01:00
Joakim Frostegård
903010dbe1 udp: use action 1 for IPv6 announce responses; refactor protocol code
According to BEP015, action 1 is to be used.
2022-02-20 01:35:24 +01:00
Joakim Frostegård
8e7f8425f9 udp: default to 120s max_connection_age, since it is in BEP0015 2022-02-20 00:48:58 +01:00
Joakim Frostegård
f18fc52675 Run cargo fmt 2022-02-20 00:45:04 +01:00
Joakim Frostegård
e3ce111548 Reorganize and clean up TODO, add some entries 2022-02-20 00:44:56 +01:00
Joakim Frostegård
af4009ac59
Merge pull request #51 from greatest-ape/work-2022-02-19
Update dependencies; minor tweaks
2022-02-19 15:50:37 +01:00
Joakim Frostegård
f6a7514fb8 Update to glommio version 0.7 (using crates.io instead of git version) 2022-02-19 15:32:25 +01:00
Joakim Frostegård
0d501dc833 Update TODO 2022-02-19 15:19:42 +01:00
Joakim Frostegård
4560c7fce0 aquatic_common: possibly do less allocations in extract_response_peers 2022-02-19 15:19:23 +01:00
Joakim Frostegård
14a4c10546 s/toml_config/aquatic_toml_config/ 2022-02-19 15:11:00 +01:00
Joakim Frostegård
8abdf702b7 Update tungstenite and async-tungstenite to 0.17 2022-02-19 14:48:57 +01:00
Joakim Frostegård
7c8c67b847 Update rustls-pemfile to 0.3 2022-02-19 14:46:16 +01:00
Joakim Frostegård
f56d482760 ws: update parking_lot to 0.12 2022-02-19 14:38:18 +01:00
Joakim Frostegård
4073a1b8be Update hashbrown to 0.12 2022-02-19 14:32:31 +01:00
Joakim Frostegård
40d7265f5b Run cargo update 2022-02-19 14:27:24 +01:00
Joakim Frostegård
ee6ce8f0e9 Remove hashbrown dependency where unused 2022-02-19 14:27:00 +01:00
Joakim Frostegård
5e8777d2e2 udp, http: remove unused parking_lot dependency 2022-02-19 14:13:27 +01:00
Joakim Frostegård
29ea935744 udp: request workers: use config.statistics.active() 2022-02-19 14:09:24 +01:00
Joakim Frostegård
7c57548565
Merge pull request #50 from greatest-ape/work-2022-02-03
Simplify http request buffering, use CanonicalSocketAddr in http and ws, update deps and TODO
2022-02-04 10:42:59 +01:00
Joakim Frostegård
7e06e63bd5 Run cargo update 2022-02-03 19:31:33 +01:00