Joakim Frostegård
4071d4d874
http: use idiomatic folder structure
2021-11-27 18:23:29 +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
8871d0eec8
http and ws: rename cleaning.interval to torrent_cleaning_interval
2021-11-03 00:11:24 +01:00
Joakim Frostegård
cccee914d6
aquatic_http: remove config fields previously used for mio impl
2021-10-28 01:57:16 +02:00
Joakim Frostegård
49ed4371e7
Run cargo fmt, clean up imports
2021-10-28 01:23:43 +02:00
Joakim Frostegård
d6d5cc78b7
udp, http: move privilege drop code into aquatic_common
2021-10-27 20:49:15 +02:00
Joakim Frostegård
35b8a1820d
Rename CoreAffinityConfig to CpuPinningConfig, rename fields
2021-10-27 20:21:11 +02:00
Joakim Frostegård
d659117ae5
Move CoreAffinityConfig to aquatic_common, use in glommio http
2021-10-27 20:19:02 +02:00
Joakim Frostegård
7fd2d4c42e
aquatic_http glommio: modify tls config and file parsing
2021-10-26 19:38:37 +02:00
Joakim Frostegård
4fa199a1e0
aquatic_http access list: add config, state field, initial load
2021-10-15 22:38:58 +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
2b4cd2dea1
aquatic_http: support multiple request workers
2020-08-13 01:50:18 +02:00
Joakim Frostegård
cce7bd7150
aquatic_http: send responses for each event, use mio poll waker
...
This means
* less fluctuation in number of responses send per second
* longer poll timeouts can be used since poll is woken when
responses are available for sending
* drain-like method used to fetch responses from response
channel, meaning responses added while iterating won't
be processed
2020-08-10 02:53:15 +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
427c0bc7c3
aquatic_http: add keep_alive setting (default true)
...
This might be good for performance in the real world. It also
enables fairer load test comparisons with opentracker, which
in my understanding drops connections after sending responses.
2020-08-02 20:06:49 +02:00
Joakim Frostegård
f1f708465a
remove aquatic_common_tcp crate, move contents into aquatic_http
...
It doesn't make a lot of sense to make a separate crate for
the few things here. I don't really want tight coupling between
the crates anyway, since it impedes making changes in them
and makes understanding them more difficult.
2020-07-21 23:01:34 +02:00
Joakim Frostegård
19ee41eb72
aquatic_http: config: set poll timeout in microseconds, default to 10000
2020-07-20 15:46:17 +02:00
Joakim Frostegård
ccafdc5cd3
aquatic_http: clean up clode
2020-07-04 13:51:43 +02:00
Joakim Frostegård
b86787ef20
move back SocketConfig to aquatic_http
2020-07-02 17:06:34 +02:00
Joakim Frostegård
82378e71f6
Move things to aquatic_common_tcp
2020-07-02 16:54:27 +02:00
Joakim Frostegård
720596dfb4
move more things from aquatic_http to aquatic_common_tcp
2020-07-02 16:47:33 +02:00
Joakim Frostegård
404e528616
WIP: start work on http tracker
2020-07-01 18:56:19 +02:00