Commit graph

19 commits

Author SHA1 Message Date
Joakim Frostegård
9b032f7e24 Move all crates to new crates dir 2023-10-18 23:53:41 +02:00
Joakim Frostegård
32884aae36 http: add peer and torrent count metrics 2023-01-18 21:04:25 +01:00
Joakim Frostegård
fcf18c845f Reduce ValidUntil size; reduce size of various ws structs 2022-08-01 14:15:06 +02:00
Joakim Frostegård
7b06bf8736 ws: don't attempt to parse TLS files when running without TLS 2022-07-19 17:29:13 +02:00
Joakim Frostegård
2313ca77ec http: document that running behind a reverse proxy is not supported 2022-07-19 16:15:29 +02:00
Joakim Frostegård
cedf0b61ca Exit with error message on unrecognized config keys 2022-07-05 11:26:46 +02:00
Joakim Frostegård
c89406179b http, http_private: rename request workers to swarm workers 2022-07-04 11:52:51 +02:00
Joakim Frostegård
bd6764afaf Move aquatic_cli_helpers code into aquatic_common and remove crate 2022-04-06 19:02:39 +02:00
Joakim Frostegård
c888017072 Improve privilege dropping; run cargo fmt 2022-04-05 01:26:40 +02:00
Joakim Frostegård
6c149331dc Rewrite CpuPinningConfig implementation to support aquatic_toml_config 2022-04-04 22:38:47 +02:00
Joakim Frostegård
fb607ac0c2 Improve CPU pinning 2022-03-30 22:53:15 +02: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
fd704b6412 http: implement network.only_ipv6 and network.tcp_backlog 2022-03-20 18:44:38 +01:00
Joakim Frostegård
f18fc52675 Run cargo fmt 2022-02-20 00:45:04 +01:00
Joakim Frostegård
14a4c10546 s/toml_config/aquatic_toml_config/ 2022-02-19 15:11:00 +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
4071d4d874 http: use idiomatic folder structure 2021-11-27 18:23:29 +01:00
Renamed from aquatic_http/src/lib/config.rs (Browse further)