From e22020da294381b22998ee885876b56614bca890 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 19 Mar 2025 19:18:31 +0100 Subject: disable h{1,2} options and some readme updates --- src/config.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index 25b8a12..8a19a53 100644 --- a/src/config.rs +++ b/src/config.rs @@ -65,6 +65,10 @@ pub struct HttpsConfig { pub cert_fallback: Option, #[serde(default)] pub disable_h3: bool, + #[serde(default)] + pub disable_h2: bool, + #[serde(default)] + pub disable_h1: bool, } // try deser Vec but fall back to deser T and putting that in Vec -- cgit v1.2.3-70-g09d2