Joakim Frostegård
|
9aa783fbb1
|
aquatic_udp: stop counting readable events for statistics
It is not very informative and might be expensive
|
2021-10-18 11:15:59 +02:00 |
|
Joakim Frostegård
|
90d60108c1
|
aquatic_udp: innetwork, use request_sender.try_send; run rustfmt
|
2021-10-18 11:10:56 +02:00 |
|
Joakim Frostegård
|
07a453b6b3
|
aquatic_udp: in network request reading, send on to channel directly
|
2021-10-18 11:06:07 +02:00 |
|
Joakim Frostegård
|
6b8616acf9
|
aquatic_udp: pass less of state to tasks::update_access_list
|
2021-10-18 02:46:58 +02:00 |
|
Joakim Frostegård
|
253497bb74
|
aquatic_udp: update configuration documentation
|
2021-10-18 02:46:45 +02:00 |
|
Joakim Frostegård
|
7187190cec
|
aquatic_udp: don't panic on Response::write error
|
2021-10-18 02:38:03 +02:00 |
|
Joakim Frostegård
|
1f763e63e4
|
aquatic_udp: clean ConnectionMap less often
|
2021-10-18 02:30:49 +02:00 |
|
Joakim Frostegård
|
6d834e772d
|
aquatic_udp: simplify ConnectionMap interface
|
2021-10-18 02:25:34 +02:00 |
|
Joakim Frostegård
|
f0a15e9b6f
|
aquatic_udp: improve request parse errors, send less error responses
|
2021-10-18 02:10:39 +02:00 |
|
Joakim Frostegård
|
f64e2e726b
|
aquatic_udp: drop MutexGuard quicker; clean up
|
2021-10-18 01:35:49 +02:00 |
|
Joakim Frostegård
|
e2be31c7de
|
aquatic_udp: move ConnectionKey and ConnectionMap to network.rs
|
2021-10-18 01:27:16 +02:00 |
|
Joakim Frostegård
|
de85feec9a
|
aquatic_udp: add and use ConnectedResponse enum
|
2021-10-18 01:25:25 +02:00 |
|
Joakim Frostegård
|
7616df9686
|
aquatic_udp: validate requests in socket workers
Also, don't send error responses for unconnected requests
|
2021-10-18 01:14:32 +02:00 |
|
Joakim Frostegård
|
f3487d4749
|
Rename AccessList variants
|
2021-10-17 18:19:31 +02:00 |
|
Joakim Frostegård
|
3678e86654
|
Run rustfmt
|
2021-10-16 17:49:00 +02:00 |
|
Joakim Frostegård
|
429ffc8301
|
aquatic_udp: use cleaner request filtering by access list
|
2021-10-16 17:32:38 +02:00 |
|
Joakim Frostegård
|
7ccd5fcbf7
|
access lists: filter requests in socket workers instead
|
2021-10-16 17:26:40 +02:00 |
|
Joakim Frostegård
|
31b88a5e9d
|
aquatic_udp: use Cow<'static, str> for ErrorResponse.message
|
2021-10-16 00:16:00 +02:00 |
|
Joakim Frostegård
|
881579435a
|
aquatic_udp: improve code for request connection validity checks
|
2021-10-15 23:59:16 +02:00 |
|
Joakim Frostegård
|
ff49022efe
|
aquatic_udp: split handlers.rs into submodules
|
2021-10-15 23:48:54 +02:00 |
|
Joakim Frostegård
|
f65bcd7f56
|
aquatic_udp: simplify access list handling in tasks, request workers
|
2021-10-15 23:35:05 +02:00 |
|
Joakim Frostegård
|
b8b9a9839a
|
Run rustfmt
|
2021-10-15 22:09:45 +02:00 |
|
Joakim Frostegård
|
490c0b037d
|
AccessListMode: rename Allow to Require and Deny to Forbid
|
2021-10-15 21:59:46 +02:00 |
|
Joakim Frostegård
|
f0846e3128
|
aquatic_common: rename AccessListType to AccessListMode
|
2021-10-15 21:55:01 +02:00 |
|
Joakim Frostegård
|
60d183003d
|
aquatic_common: move access list code to own file
|
2021-10-15 21:53:42 +02:00 |
|
Joakim Frostegård
|
9893341622
|
aquatic_udp: update access list at startup, exit on failure
|
2021-10-15 21:49:01 +02:00 |
|
Joakim Frostegård
|
cedf60155e
|
aquatic_udp: add privdrop failsafe timeout
|
2021-10-15 02:59:13 +02:00 |
|
Joakim Frostegård
|
3bb6c1994c
|
aquatic_udp: move TorrentMap cleaning logic to TorrentMap impl
|
2021-10-15 02:53:33 +02:00 |
|
Joakim Frostegård
|
6cfa220097
|
access list: log when update fails; run cargo fmt
|
2021-10-15 02:35:13 +02:00 |
|
Joakim Frostegård
|
b5a2b81bd7
|
aquatic_udp: simplify access list logic
|
2021-10-15 02:30:49 +02:00 |
|
Joakim Frostegård
|
8639f380f4
|
aquatic_udp: first access list implementation
|
2021-10-15 02:08:57 +02:00 |
|
Joakim Frostegård
|
d172fc4f8c
|
Upgrade socket2
|
2021-08-15 23:32:59 +02:00 |
|
Joakim Frostegård
|
32541c5c15
|
Upgrade hashbrown
|
2021-08-15 22:29:09 +02:00 |
|
Joakim Frostegård
|
d0e716f80b
|
Run rustfmt, clean up aquatic_http_protocol/Cargo.toml
|
2021-08-15 22:26:11 +02:00 |
|
Joakim Frostegård
|
f9626ade57
|
Upgrade quickcheck to 1.0, adjust code, optimizing a slow test
|
2021-02-10 18:36:23 +01:00 |
|
Joakim Frostegård
|
e1260d14de
|
Update rand to 0.8 and rand_distr to 0.4
|
2021-02-10 18:36:23 +01:00 |
|
Joakim Frostegård
|
bbc351bb59
|
Update privdrop to 0.5
|
2021-02-10 18:36:23 +01:00 |
|
Joakim Frostegård
|
ac6eefc30f
|
Update crossbeam-channel to 0.5
|
2021-02-10 18:36:23 +01:00 |
|
Joakim Frostegård
|
fe11ed138a
|
Use (patched) crates.io deps for crates, add some package metadata
|
2020-09-13 17:30:26 +02:00 |
|
Joakim Frostegård
|
66e9882f48
|
Update dependencies
|
2020-09-10 23:23:21 +02:00 |
|
Joakim Frostegård
|
6ee8ed4895
|
aquatic_common: extract response peers: don't return sender
Seems to fix or at least help with some issues with
real clients being slow to initiate transfers
|
2020-08-16 23:07:39 +02:00 |
|
Joakim Frostegård
|
7c8729f256
|
aquatic_udp: replace some expect calls with anyhow error returns
|
2020-08-13 04:58:12 +02:00 |
|
Joakim Frostegård
|
f4187f4368
|
aquatic_udp: use log crate instead of eprintln, add LogLevel to Config
|
2020-08-13 04:52:50 +02:00 |
|
Joakim Frostegård
|
6b3d9e00d8
|
aquatic_udp: drop unused channel senders & receivers
|
2020-08-13 02:08:19 +02:00 |
|
Joakim Frostegård
|
9efc1fc66a
|
add aquatic crate with master executable, refactor cli_helpers
|
2020-08-13 00:13:01 +02:00 |
|
Joakim Frostegård
|
8d58f8bb70
|
init logger in aquatic_cli_helpers crate
|
2020-08-02 21:21:58 +02:00 |
|
Joakim Frostegård
|
ea6a4c2635
|
refactor aquatic_udp_protocol, notably make converters trait fns
|
2020-08-02 01:23:11 +02:00 |
|
Joakim Frostegård
|
6018450414
|
aquatic_udp: stop reregistering socket
|
2020-08-02 00:46:47 +02:00 |
|
Joakim Frostegård
|
561cc3db55
|
fix more clippy warnings
|
2020-08-02 00:36:56 +02:00 |
|
Joakim Frostegård
|
c202d9ba41
|
udp, ws load test: fix clippy errors
|
2020-08-01 23:50:01 +02:00 |
|