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
|
fb2794643d
|
udp, common: rename request workers to swarm workers
|
2022-07-04 11:49:39 +02:00 |
|
Joakim Frostegård
|
945ff41ef2
|
Update crate descriptions
|
2022-06-27 22:44:45 +02:00 |
|
Joakim Frostegård
|
cc1eda80a7
|
Update rustls-pemfile to v1.0.0
|
2022-05-10 23:16:04 +02:00 |
|
Joakim Frostegård
|
f2d501c327
|
http: start only a single task for updating peer_valid_until
|
2022-04-10 03:26:06 +02:00 |
|
Joakim Frostegård
|
94b4e4a935
|
http: small socket worker fixes
|
2022-04-10 03:18:57 +02:00 |
|
Joakim Frostegård
|
f083cac9e0
|
http: send response sender to request workers
|
2022-04-10 02:30:49 +02:00 |
|
Joakim Frostegård
|
02b9c9d290
|
http: use escape_ascii for debug info on not enough request data
|
2022-04-10 01:29:58 +02:00 |
|
Joakim Frostegård
|
c229872134
|
Use idiomatic feature names & namespace support from Rust 1.60
|
2022-04-10 01:25:03 +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
|
117244f1c7
|
aquatic_http: use PanicSentinel, simplify lib.rs
|
2022-04-06 18:38:50 +02:00 |
|
Joakim Frostegård
|
3f46db01ff
|
Run cargo fmt
|
2022-04-06 01:14:47 +02:00 |
|
Joakim Frostegård
|
cb2f7483d3
|
Return anyhow::Result on PrivDropper waiting and socket creation
|
2022-04-05 23:15:29 +02:00 |
|
Joakim Frostegård
|
c888017072
|
Improve privilege dropping; run cargo fmt
|
2022-04-05 01:26:40 +02:00 |
|
Joakim Frostegård
|
908e18360c
|
Merge branch 'master' into cpu-pinning-2022-03-30
|
2022-04-04 22:49:25 +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
|
c18a59b0cb
|
Use proper workspace path declarations, remove workspace patch section
|
2022-04-04 12:46:42 +02:00 |
|
Joakim Frostegård
|
610057a231
|
http: use create_rustls_config from aquatic_common
|
2022-04-03 19:43:44 +02:00 |
|
Joakim Frostegård
|
70d79b1871
|
http: add AnnounceResponse.warning_message; set in http_private
|
2022-04-03 01:07:38 +02:00 |
|
Joakim Frostegård
|
fb607ac0c2
|
Improve CPU pinning
|
2022-03-30 22:53:15 +02:00 |
|
Joakim Frostegård
|
d78b0fa31e
|
Bump version to 0.2.0 for all aquatic crates
|
2022-03-26 11:39:37 +01:00 |
|
Joakim Frostegård
|
90437e23bb
|
Cargo.toml files: add readme keys, remove some exclude keys
|
2022-03-26 11:39:04 +01:00 |
|
Joakim Frostegård
|
5ac5d20b6e
|
cargo fmt
|
2022-03-24 16:34:13 +01:00 |
|
Joakim Frostegård
|
f5b1cd5525
|
Add command-line option for printing version and commit info
|
2022-03-24 16:17:17 +01:00 |
|
Joakim Frostegård
|
775607da3c
|
http: make APP_NAME clearer
|
2022-03-23 21:33:19 +01:00 |
|
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
|
a9f1aeb70c
|
Add crate keywords, update descriptions
|
2022-03-20 20:41:56 +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
|
fd704b6412
|
http: implement network.only_ipv6 and network.tcp_backlog
|
2022-03-20 18:44:38 +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
|
3785e57513
|
Sort dependencies in Cargo.toml files
|
2022-02-20 01:44:34 +01:00 |
|
Joakim Frostegård
|
f18fc52675
|
Run cargo fmt
|
2022-02-20 00:45:04 +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
|
14a4c10546
|
s/toml_config/aquatic_toml_config/
|
2022-02-19 15:11:00 +01:00 |
|
Joakim Frostegård
|
7c8c67b847
|
Update rustls-pemfile to 0.3
|
2022-02-19 14:46:16 +01:00 |
|
Joakim Frostegård
|
5e8777d2e2
|
udp, http: remove unused parking_lot dependency
|
2022-02-19 14:13: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
|
abf3e7015e
|
http: don't send response if body is too long for buffer
|
2022-01-31 19:59:42 +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
|
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
|
dd573cdb30
|
Run cargo fmt
|
2021-11-28 22:11:21 +01:00 |
|
Joakim Frostegård
|
1e77745a84
|
http: move network.rs and handlers.rs to new workers dir, rename
|
2021-11-27 18:26:57 +01:00 |
|
Joakim Frostegård
|
4071d4d874
|
http: use idiomatic folder structure
|
2021-11-27 18:23:29 +01:00 |
|