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
Joakim Frostegård
348c8a5400
Update TODO
2022-02-03 19:31:27 +01:00
Joakim Frostegård
8889ab586c
Use CanonicalSocketAddr in ws and http; remove old option from common
2022-02-03 19:29:21 +01:00
Joakim Frostegård
380ca222de
http: socket workers: simplify request buffering
2022-02-03 18:59:51 +01:00
Joakim Frostegård
91dcd3de4d
Add CanonicalSocketAddr struct ( #49 )
...
* Add CanonicalSocketAddr struct to aquatic_common, use in aquatic_udp
* udp_bench: fix build error by using CanonicalSocketAddr
2022-02-02 22:34:54 +01:00
Joakim Frostegård
f7e0f61119
Add architectural overview svg to README ( #48 )
2022-02-02 16:46:09 +01:00
Joakim Frostegård
993ceaa9f5
Merge pull request #47 from greatest-ape/work-2022-02-02
...
README: mention specific BEPs, other minor improvements
2022-02-02 16:03:29 +01:00
Joakim Frostegård
4efe6dbb31
README: mention specific BEPs, other minor improvements
2022-02-02 15:49:55 +01:00
Joakim Frostegård
e629d49448
Merge pull request #46 from greatest-ape/work-2022-01-31
...
http: don't panic if response body is too long for buffer; update README
2022-01-31 20:37:44 +01:00
Joakim Frostegård
9209a3ee01
README: improve title
2022-01-31 20:08:17 +01:00
Joakim Frostegård
88deed89a7
README: use more descriptive title
2022-01-31 20:05:35 +01:00
Joakim Frostegård
abf3e7015e
http: don't send response if body is too long for buffer
2022-01-31 19:59:42 +01:00
Joakim Frostegård
0ee2e2d2ae
Merge pull request #45 from greatest-ape/work-2022-01-30
...
Improve http response sending efficiency; update dependencies
2022-01-30 22:15:55 +01:00
Joakim Frostegård
84d57c1c86
http: make response sending more efficient by avoiding some copies
2022-01-30 17:13:00 +01:00
Joakim Frostegård
9ba72ce3fd
Upgrade itoa to version 1
2022-01-30 15:55:35 +01:00
Joakim Frostegård
391c55a19e
Merge pull request #44 from greatest-ape/udp-2022-01-13
...
udp: use slab for pending scrape responses, split response statistics by type
2022-01-13 19:40:15 +01:00
Joakim Frostegård
0d3c6111ca
udp: run cargo fmt
2022-01-13 19:21:53 +01:00
Joakim Frostegård
f0dc7c19f3
udp: show separate statistics for all response types
2022-01-13 19:16:25 +01:00
Joakim Frostegård
00c4e74374
udp: use slab for pending scrape responses to fix potential issue
...
Peers sometimes send multiple scrape requests with the same transaction
id, which would previously cause warnings due to replacing the
PendingScrapeMapEntry and later not finding it.
2022-01-13 18:35:41 +01:00
Joakim Frostegård
700dd68d2c
udp scrape improvements ( #43 )
...
* udp_protocol: forbid full scrapes
* udp: improve PendingScrapeResponseMap logging
* udp: PendingScrapeResponseMap: store less data, improve logging
* udp: PendingScrapeResponseMap: log if replacing entry on insert
* udp: PendingScrapeResponseMap: use remote addr in key
* Run cargo fmt
* README: update copyright end year
* udp: move scrape request splitting logic into PendingScrapeResponseMap
* udp: add quickcheck test test_pending_scrape_response_map
* udp protocol: fix failing test_scrape_request_convert_identity
2022-01-06 11:48:16 +01:00
Joakim Frostegård
e5a1461613
udp: include ConnectionId in PendingScrapeResponseMap key ( #42 )
2021-12-28 03:16:15 +01:00
Joakim Frostegård
a208775104
Include documentation in printed config files ( #41 )
...
* Start work on printing toml config with comments
* WIP: toml_config: extract default values for fields
* WIP: toml_config: handle single-level nested structs
* WIP: toml_config: improve comment handling, std type trait impls
* WIP: toml_config: add Private trait, improve comment handling, clean up
* toml_config: fix default value bug; improve tests
* Use toml_config in all applicable crates; add toml_config enum support
* toml_config: improve comments
* toml_config_derive: support enum comments
* Improve config comments for udp, cli_helpers, common
* Improve config comments
* Add tests for Config struct TomlConfig implementations
* Improve Config comments
* Improve Config comments
* ws, http: add config comments for tls cert and private key lines
* small fixes to toml_config and toml_config_derive
* Run cargo fmt
* Fix typo in several config comments
* Update README
* Update README
2021-12-26 11:33:27 +01:00
Joakim Frostegård
d694785244
Merge pull request #40 from greatest-ape/deps-2021-12-22
...
Update deps; work on udp statistics html file
2021-12-22 00:47:11 +01:00
Joakim Frostegård
aaa00a53ce
udp: statistics html: don't display link to repo
2021-12-22 00:31:37 +01:00
Joakim Frostegård
9dd036a813
Run cargo update
2021-12-22 00:29:56 +01:00