Joakim Frostegård
|
8490509de9
|
CI: build & test: remove docker, install latest stable instead
|
2022-04-10 22:58:05 +02:00 |
|
Joakim Frostegård
|
6214a1bfaf
|
CI: build & test: disable macos, don't use sudo
|
2022-04-10 22:51:39 +02:00 |
|
Joakim Frostegård
|
6093bf8f86
|
CI: build & test: run in docker container
|
2022-04-10 22:45:10 +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
|
fc9211835e
|
http load test: use new escape_ascii from Rust 1.60
|
2022-04-10 01:21:25 +02:00 |
|
Joakim Frostegård
|
7215d26ff4
|
http load test: add keep_alive setting
|
2022-04-10 01:01:34 +02:00 |
|
Joakim Frostegård
|
da6180e871
|
http load test: use futures-rustls
|
2022-04-10 00:58:36 +02:00 |
|
Joakim Frostegård
|
bf456b002b
|
README: mention announce URL structure in usage section
|
2022-04-07 22:53:29 +02:00 |
|
Joakim Frostegård
|
b5dc677d97
|
Merge pull request #66 from greatest-ape/privdrop-2022-04-04
Improve privilege dropping; quit whole program if any thread panics; other improvements
|
2022-04-06 19:55:29 +02:00 |
|
Joakim Frostegård
|
113fe8f5fd
|
Update TODO
|
2022-04-06 19:55:12 +02:00 |
|
Joakim Frostegård
|
3746fa76ec
|
udp: name statistics worker thread "statistics"
|
2022-04-06 19:16:50 +02:00 |
|
Joakim Frostegård
|
0a63ee3ce7
|
load testers: name worker threads "load-test"
|
2022-04-06 19:15:01 +02:00 |
|
Joakim Frostegård
|
5fb91ccc73
|
http_private: db_connections_per_worker: add comment, default to 4
|
2022-04-06 19:09:46 +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
|
b677a104d3
|
cli helpers: change default log level to warn
|
2022-04-06 18:55:13 +02:00 |
|
Joakim Frostegård
|
745a85f71d
|
PrivilegeDropper::after_socket_creation: take ownership of self
|
2022-04-06 18:53:11 +02:00 |
|
Joakim Frostegård
|
87bfec5e55
|
http_private: use PrivilegeDropper
|
2022-04-06 18:51:56 +02:00 |
|
Joakim Frostegård
|
a4c7e79dc9
|
http_private: use PanicSentinel
|
2022-04-06 18:48:23 +02:00 |
|
Joakim Frostegård
|
f50c8970b5
|
aquatic_ws: use PanicSentinel, simplify lib.rs
|
2022-04-06 18:44:09 +02:00 |
|
Joakim Frostegård
|
117244f1c7
|
aquatic_http: use PanicSentinel, simplify lib.rs
|
2022-04-06 18:38:50 +02:00 |
|
Joakim Frostegård
|
b4d1c46595
|
Update TODO
|
2022-04-06 02:23:06 +02:00 |
|
Joakim Frostegård
|
ffa7c7532f
|
PanicSentinel: only set flag if dropped while panicking
|
2022-04-06 01:56:45 +02:00 |
|
Joakim Frostegård
|
94ee4027e8
|
Update TODO
|
2022-04-06 01:53:00 +02:00 |
|
Joakim Frostegård
|
10997596fa
|
PanicSentinel: send SIGTERM only once
|
2022-04-06 01:52:06 +02:00 |
|
Joakim Frostegård
|
b61b136b0c
|
Add PanicSentinelWatcher
Use to determine if SIGTERM was caused by panic in other thread
|
2022-04-06 01:33:19 +02:00 |
|
Joakim Frostegård
|
3f46db01ff
|
Run cargo fmt
|
2022-04-06 01:14:47 +02:00 |
|
Joakim Frostegård
|
d0eec05d4c
|
udp: use PanicSentinel
|
2022-04-06 00:42:11 +02:00 |
|
Joakim Frostegård
|
49523779d9
|
common: add PanicSentinel, improve PrivilegeDropper anyhow context
|
2022-04-06 00:41:15 +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
|
02ba4ec922
|
privilege dropping: actually set group, default to "nogroup"
|
2022-04-05 23:03:54 +02:00 |
|
Joakim Frostegård
|
6f30d05453
|
Update TODO
|
2022-04-05 01:33:02 +02:00 |
|
Joakim Frostegård
|
c888017072
|
Improve privilege dropping; run cargo fmt
|
2022-04-05 01:26:40 +02:00 |
|
Joakim Frostegård
|
2ad1418175
|
Merge pull request #63 from greatest-ape/cpu-pinning-2022-03-30
Improve CPU pinning
|
2022-04-05 00:57:20 +02:00 |
|
Joakim Frostegård
|
621f45e84c
|
aquatic_common: add doc comments for CpuPinningConfig structs
|
2022-04-04 23:04:56 +02:00 |
|
Joakim Frostegård
|
76ccd8ba55
|
aquatic_common: rename CpuPinningMode to CpuPinningDirection
|
2022-04-04 23:04:09 +02:00 |
|
Joakim Frostegård
|
ffce413217
|
aquatic_common: fix build error with aquatic_udp
|
2022-04-04 23:00:07 +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
|
7acd12b717
|
Merge pull request #65 from greatest-ape/private-tracker-2022-04-01
Add aquatic_http_private; other improvements
|
2022-04-04 13:15:16 +02:00 |
|
Joakim Frostegård
|
e96dd55c5d
|
http_private: use BINARY(20) for p_peer_id
|
2022-04-04 13:04:59 +02:00 |
|
Joakim Frostegård
|
4b456cc668
|
http_private: add some Cargo.toml fields
|
2022-04-04 12:55:19 +02:00 |
|
Joakim Frostegård
|
292ba6f741
|
Bump aquatic_http_private version to 0.2.0 to match other crates
|
2022-04-04 12:53:26 +02:00 |
|
Joakim Frostegård
|
9731791540
|
Remove old nested .gitignore and Cargo.lock files
|
2022-04-04 12:52:50 +02:00 |
|
Joakim Frostegård
|
c990521b92
|
Run cargo fmt
|
2022-04-04 12:49:35 +02:00 |
|
Joakim Frostegård
|
9dfc3a82ad
|
Update TODO
|
2022-04-04 12:49:29 +02:00 |
|
Joakim Frostegård
|
c18a59b0cb
|
Use proper workspace path declarations, remove workspace patch section
|
2022-04-04 12:46:42 +02:00 |
|