Joakim Frostegård
d20e57d861
ws: use idiomatic folder structure
2021-11-27 18:19:43 +01:00
Joakim Frostegård
4f8328b70a
Feature-gate CPU pinning, since it only works on Linux
2021-11-09 11:40:16 +01:00
Joakim Frostegård
2bed6ccdc5
WIP: ws: split into features, other fixes
2021-11-05 13:25:19 +01:00
Joakim Frostegård
465cf5920d
WIP: ws: put back mio implementation
2021-11-05 12:42:55 +01:00
Joakim Frostegård
8871d0eec8
http and ws: rename cleaning.interval to torrent_cleaning_interval
2021-11-03 00:11:24 +01:00
Joakim Frostegård
65851fa544
aquatic_ws: remove unused config keys
2021-11-01 23:47:30 +01:00
Joakim Frostegård
24bfaf67c0
aquatic_ws: rewrite to use glommio
2021-11-01 19:08:00 +01:00
Joakim Frostegård
30fa96a7f4
aquatic_ws: use PrivilegeConfig from aquatic_common
2021-10-27 20:50:55 +02:00
Joakim Frostegård
28cc6c261a
aquatic_ws: almost finish implementing access list support
2021-10-16 01:08:59 +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
3d35bd9bd4
aquatic http and ws: raise default max peer and connection age
...
There was a problem with aquatic_http with clients announcing
less often than requested interval and getting purged, making
file transfers less reliable
2020-08-16 23:24:29 +02:00
Joakim Frostegård
88423976c4
aquatic_http, aquatic_ws: add option for printing statistics
...
statistics are on number of peers per torrent
2020-08-13 03:58:28 +02:00
Joakim Frostegård
875eb122c7
aquatic_ws: support multiple request workers
2020-08-13 01:50:01 +02:00
Joakim Frostegård
9af4e4663d
aquatic_ws: send responses for every event, wake mio for responses
2020-08-11 23:58:00 +02:00
Joakim Frostegård
2d3761fee2
impl Copy for LogLevel, remove some cloning
2020-08-09 00:27:05 +02:00
Joakim Frostegård
8d58f8bb70
init logger in aquatic_cli_helpers crate
2020-08-02 21:21:58 +02:00
Joakim Frostegård
0f072244ab
WIP: aquatic_ws: use microseconds for poll timeout, remove unwrap
2020-08-01 03:44:29 +02:00
Joakim Frostegård
5af9ae4ede
aquatic_ws: move some config vars to new substruct ProtocolConfig
2020-05-25 17:59:52 +02:00
Joakim Frostegård
bc8916dce4
aquatic_ws: add logging with level configured by config file
2020-05-23 20:16:56 +02:00
Joakim Frostegård
f3bdb6bc2a
aquatic_ws: privilege dropping; cli_helpers: show error context
2020-05-23 17:02:52 +02:00
Joakim Frostegård
d4bcc14c82
aquatic_ws: add setting Config.ipv6_only
2020-05-23 15:40:56 +02:00
Joakim Frostegård
a30335730b
aquatic_ws: add settings for max ws message sizes, set low defaults
2020-05-23 14:44:03 +02:00
Joakim Frostegård
4216452fc9
aquatic_udp, aquatic_ws: bind to 0.0.0.0:3000 by default
2020-05-17 11:58:00 +02:00
Joakim Frostegård
ad925c07f1
aquatic_ws: comment out privilege settings since they're not implemented
2020-05-15 17:01:15 +02:00
Joakim Frostegård
6d06a43db8
aquatic_ws: add setting for using tls; update TODO
2020-05-13 16:43:23 +02:00
Joakim Frostegård
987e1a4a45
aquatic_ws: improve comments in config
2020-05-12 21:08:30 +02:00
Joakim Frostegård
de9a32840f
WIP: aquatic_ws: start work on wss (ws with tls)
2020-05-12 18:48:50 +02:00
Joakim Frostegård
7c9ecda53a
aquatic_ws: clean torrent state periodically
2020-05-12 15:45:28 +02:00
Joakim Frostegård
e4bdfd06fb
aquatic_ws: set so_reuseport on socket, with new create_listener fn
2020-05-12 15:23:25 +02:00
Joakim Frostegård
21048727db
aquatic_ws: add Config, use in many places; use cli_helpers for cli
...
Also add mimalloc
2020-05-12 14:58:55 +02:00