Commit graph

17 commits

Author SHA1 Message Date
Joakim Frostegård
117244f1c7 aquatic_http: use PanicSentinel, simplify lib.rs 2022-04-06 18:38:50 +02:00
Joakim Frostegård
3f46db01ff Run cargo fmt 2022-04-06 01:14:47 +02:00
Joakim Frostegård
cb2f7483d3 Return anyhow::Result on PrivDropper waiting and socket creation 2022-04-05 23:15:29 +02:00
Joakim Frostegård
c888017072 Improve privilege dropping; run cargo fmt 2022-04-05 01:26:40 +02:00
Joakim Frostegård
610057a231 http: use create_rustls_config from aquatic_common 2022-04-03 19:43:44 +02:00
Joakim Frostegård
70d79b1871 http: add AnnounceResponse.warning_message; set in http_private 2022-04-03 01:07:38 +02:00
Joakim Frostegård
6b1b5bf191 http: move various definitions from common.rs to request.rs 2022-03-23 21:30:03 +01:00
Joakim Frostegård
a348fcfd2d http: rewrite retain function 2022-03-23 21:24:53 +01:00
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
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
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