Joakim Frostegård
|
1e5b98bcf6
|
udp: ConnectionValidator: add documentation
|
2022-04-14 22:08:57 +02:00 |
|
Joakim Frostegård
|
10cb0849d6
|
Update TODO
|
2022-04-14 17:51:15 +02:00 |
|
Joakim Frostegård
|
82e468de35
|
udp: socket worker: send responses: use previous design
It seems to perform better
|
2022-04-14 17:49:17 +02:00 |
|
Joakim Frostegård
|
ebe612a560
|
udp: TorrentMap cleaning: improve code, do less work
|
2022-04-14 17:44:34 +02:00 |
|
Joakim Frostegård
|
0f6be84576
|
udp: log with warn level and with more info if send_to fails
|
2022-04-14 17:40:43 +02:00 |
|
Joakim Frostegård
|
5d227428cc
|
udp: send_response: reduce branching (hopefully)
|
2022-04-14 17:38:54 +02:00 |
|
Joakim Frostegård
|
dcf6ceaec0
|
udp socket worker: remove dubious #[inline] hints
|
2022-04-14 17:34:41 +02:00 |
|
Joakim Frostegård
|
f532ec1875
|
udp: improve error handling in read_requests
|
2022-04-14 17:33:32 +02:00 |
|
Joakim Frostegård
|
6cbfa46805
|
udp: improve code in PendingScrapeResponseSlab.clean
|
2022-04-14 17:29:56 +02:00 |
|
Joakim Frostegård
|
9479828b4a
|
udp: PendingScrapeResponseSlab: use normal hashmap instead of amortized
|
2022-04-14 17:24:33 +02:00 |
|
Joakim Frostegård
|
256975a43c
|
udp: check whether to clean scrape response slab less often
|
2022-04-14 17:14:38 +02:00 |
|
Joakim Frostegård
|
70414ee736
|
udp: ConnectionValidator: improve error on failure to gen key
|
2022-04-14 17:12:16 +02:00 |
|
Joakim Frostegård
|
38eecaeef2
|
udp: remove traits-preview feature from blake3 dependency
|
2022-04-13 23:46:47 +02:00 |
|
Joakim Frostegård
|
70cabfa89c
|
udp: ConnectionValidator: add anyhow context to getrandom call
|
2022-04-13 23:45:39 +02:00 |
|
Joakim Frostegård
|
38962eba6b
|
udp: config: make max_connection_age a u32, improve its documentation
|
2022-04-13 23:42:35 +02:00 |
|
Joakim Frostegård
|
4203e86eca
|
udp: optimize/simplify ConnectionValidator
|
2022-04-13 23:40:04 +02:00 |
|
Joakim Frostegård
|
059ef495bf
|
udp: config: remove connection_cleaning_interval
|
2022-04-13 22:36:42 +02:00 |
|
Joakim Frostegård
|
cbcb627772
|
udp: reorder initializations in lib.rs
|
2022-04-13 22:32:30 +02:00 |
|
Joakim Frostegård
|
0685c99349
|
Update TODO
|
2022-04-13 22:31:02 +02:00 |
|
Joakim Frostegård
|
8b70034900
|
udp: use hmac ConnectionValidator in socket workers
|
2022-04-13 22:27:45 +02:00 |
|
Joakim Frostegård
|
dc4523ede5
|
udp: start work on HMAC connection ID generation and validation
|
2022-04-13 21:27:42 +02:00 |
|
Joakim Frostegård
|
26e2e87437
|
Merge pull request #71 from greatest-ape/aquatic-http-load-test-2022-04-11
Add aquatic_http performance load test documents, show in README
|
2022-04-12 17:46:12 +02:00 |
|
Joakim Frostegård
|
a1f11891f8
|
Add aquatic_http performance load test documents, show in README
|
2022-04-12 17:40:21 +02:00 |
|
Joakim Frostegård
|
285296865c
|
Improve README
|
2022-04-12 17:32:18 +02:00 |
|
Joakim Frostegård
|
d8a2e7fa87
|
README: link to explodie.org
|
2022-04-11 14:37:49 +02:00 |
|
Joakim Frostegård
|
7c3d5fc452
|
Merge pull request #69 from greatest-ape/2022-04-10
http load test & http protocol fixes
|
2022-04-11 14:31:55 +02:00 |
|
Joakim Frostegård
|
7553a29416
|
http load test: use log crate for logging deserialization errors
|
2022-04-11 01:19:22 +02:00 |
|
Joakim Frostegård
|
db79adc13b
|
http load test: exclusively use TLS 1.3
|
2022-04-11 01:15:26 +02:00 |
|
Joakim Frostegård
|
ee016ea0b6
|
http protocol: AnnounceRequest: always ask for compact responses
|
2022-04-11 01:08:40 +02:00 |
|
Joakim Frostegård
|
9f9d74e2d8
|
Merge pull request #68 from greatest-ape/2022-04-09
aquatic_http & aquatic_http_load_test improvements; use idiomatic feature names
|
2022-04-10 23:46:08 +02:00 |
|
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 |
|