Joakim Frostegård
|
6d8646351c
|
http: implement connection cleaning
|
2022-03-20 19:34:53 +01:00 |
|
Joakim Frostegård
|
fd704b6412
|
http: implement network.only_ipv6 and network.tcp_backlog
|
2022-03-20 18:44:38 +01:00 |
|
Joakim Frostegård
|
688d68105b
|
http, http_protocol: upgrade smartstring from 0.2 to 1.0
|
2022-03-18 15:51:20 +01:00 |
|
Joakim Frostegård
|
3785e57513
|
Sort dependencies in Cargo.toml files
|
2022-02-20 01:44:34 +01:00 |
|
Joakim Frostegård
|
f18fc52675
|
Run cargo fmt
|
2022-02-20 00:45:04 +01:00 |
|
Joakim Frostegård
|
f6a7514fb8
|
Update to glommio version 0.7 (using crates.io instead of git version)
|
2022-02-19 15:32:25 +01:00 |
|
Joakim Frostegård
|
14a4c10546
|
s/toml_config/aquatic_toml_config/
|
2022-02-19 15:11:00 +01:00 |
|
Joakim Frostegård
|
7c8c67b847
|
Update rustls-pemfile to 0.3
|
2022-02-19 14:46:16 +01:00 |
|
Joakim Frostegård
|
5e8777d2e2
|
udp, http: remove unused parking_lot dependency
|
2022-02-19 14:13:27 +01:00 |
|
Joakim Frostegård
|
8889ab586c
|
Use CanonicalSocketAddr in ws and http; remove old option from common
|
2022-02-03 19:29:21 +01:00 |
|
Joakim Frostegård
|
380ca222de
|
http: socket workers: simplify request buffering
|
2022-02-03 18:59:51 +01:00 |
|
Joakim Frostegård
|
abf3e7015e
|
http: don't send response if body is too long for buffer
|
2022-01-31 19:59:42 +01:00 |
|
Joakim Frostegård
|
84d57c1c86
|
http: make response sending more efficient by avoiding some copies
|
2022-01-30 17:13:00 +01:00 |
|
Joakim Frostegård
|
9ba72ce3fd
|
Upgrade itoa to version 1
|
2022-01-30 15:55:35 +01:00 |
|
Joakim Frostegård
|
a208775104
|
Include documentation in printed config files (#41)
* Start work on printing toml config with comments
* WIP: toml_config: extract default values for fields
* WIP: toml_config: handle single-level nested structs
* WIP: toml_config: improve comment handling, std type trait impls
* WIP: toml_config: add Private trait, improve comment handling, clean up
* toml_config: fix default value bug; improve tests
* Use toml_config in all applicable crates; add toml_config enum support
* toml_config: improve comments
* toml_config_derive: support enum comments
* Improve config comments for udp, cli_helpers, common
* Improve config comments
* Add tests for Config struct TomlConfig implementations
* Improve Config comments
* Improve Config comments
* ws, http: add config comments for tls cert and private key lines
* small fixes to toml_config and toml_config_derive
* Run cargo fmt
* Fix typo in several config comments
* Update README
* Update README
|
2021-12-26 11:33:27 +01:00 |
|
Joakim Frostegård
|
dd573cdb30
|
Run cargo fmt
|
2021-11-28 22:11:21 +01:00 |
|
Joakim Frostegård
|
1e77745a84
|
http: move network.rs and handlers.rs to new workers dir, rename
|
2021-11-27 18:26:57 +01:00 |
|
Joakim Frostegård
|
4071d4d874
|
http: use idiomatic folder structure
|
2021-11-27 18:23:29 +01:00 |
|
Joakim Frostegård
|
473276cd46
|
Switch to rust edition 2021
|
2021-11-24 18:56:26 +01:00 |
|
Joakim Frostegård
|
028a366ce5
|
Don't unnecessarily constrain crate versions in Cargo.toml files
|
2021-11-19 02:45:53 +01:00 |
|
Joakim Frostegård
|
5368dce9f0
|
http: name worker threads
|
2021-11-11 17:59:31 +01:00 |
|
Joakim Frostegård
|
40df1b587f
|
run cargo fmt
|
2021-11-11 17:53:02 +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
|
e86410291a
|
cpu pinning: set affinity to multiple hyperthreads, fix issues
|
2021-11-07 13:31:03 +01:00 |
|
Joakim Frostegård
|
57896f4648
|
http, http load test: improve CPU pinning
|
2021-11-07 11:25:50 +01:00 |
|
Joakim Frostegård
|
b8073e4bd1
|
Replace HashMap and IndexMap with indexmap_amortized
This will hopefully get down latency.
|
2021-11-03 10:35:29 +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
|
fa3b6bb259
|
Move fn update_access_list to aquatic_common
|
2021-11-02 23:33:47 +01:00 |
|
Joakim Frostegård
|
9a1993d72e
|
aquatic_http: use signals for reloading access list
|
2021-11-02 23:16:18 +01:00 |
|
Joakim Frostegård
|
2be604a2f2
|
http glommio: do debug-level log on Connection::run failure
|
2021-11-01 17:18:27 +01:00 |
|
Joakim Frostegård
|
76bd895159
|
http glommio: wait_for_response: panic if response sender is closed
|
2021-11-01 17:18:27 +01:00 |
|
Joakim Frostegård
|
90d560c307
|
http glommio: stop looping if peer closed connection
|
2021-11-01 17:18:27 +01:00 |
|
Joakim Frostegård
|
6a1c12a38b
|
http glommio: better debug logs for RequestParseError::NeedMoreData
|
2021-11-01 17:18:27 +01:00 |
|
Joakim Frostegård
|
a9b8b0224d
|
aquatic_http: glommio: remove closed connections in own fn
|
2021-11-01 17:18:27 +01:00 |
|
Joakim Frostegård
|
f767e8a6fa
|
aquatic_http: glommio: call wait_for_response in handle_request
|
2021-11-01 17:18:27 +01:00 |
|
Joakim Frostegård
|
edec526d41
|
aquatic_http: glommio: clean up Connection code, stop storing handle
|
2021-11-01 17:18:27 +01:00 |
|
Joakim Frostegård
|
afce23e321
|
aquatic_http: glommio: use futures-rustls
|
2021-11-01 17:18:27 +01:00 |
|
Joakim Frostegård
|
af0761418e
|
aquatic_http: improve ConnectionMeta field names and types
|
2021-10-28 19:30:04 +02: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
|
f60631b29e
|
Run cargo fmt
|
2021-10-28 01:49:37 +02:00 |
|
Joakim Frostegård
|
130377b8f4
|
aquatic_http: remove mio implementation
|
2021-10-28 01:48:32 +02:00 |
|
Joakim Frostegård
|
49ed4371e7
|
Run cargo fmt, clean up imports
|
2021-10-28 01:23:43 +02:00 |
|
Joakim Frostegård
|
e6d7f78a7a
|
aquatic_http: don't use bindings_after_at - it causes CI error
|
2021-10-27 21:11:07 +02:00 |
|
Joakim Frostegård
|
974aaf03b4
|
aquatic_http: set default impl to glommio for testing
|
2021-10-27 20:52:01 +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
|
af5816e2ab
|
aquatic_http: glommio: periodically update access lists
|
2021-10-27 20:36:38 +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
|
8747f8de4e
|
aquatic_udp: glommio: limit request size, use array as buffer
|
2021-10-27 14:28:15 +02:00 |
|
Joakim Frostegård
|
dd968821e4
|
aquatic_udp: glommio: refactor networking for less state in Connection
|
2021-10-27 14:07:49 +02:00 |
|