diff options
author | metamuffin <metamuffin@disroot.org> | 2025-03-19 19:18:31 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-03-19 19:18:31 +0100 |
commit | e22020da294381b22998ee885876b56614bca890 (patch) | |
tree | 2a7919ff0792c07eff633efa4a60da29aecfffe2 /src/config.rs | |
parent | d1feb3df35e491391a1600cbde00db9406629b3f (diff) | |
download | gnix-e22020da294381b22998ee885876b56614bca890.tar gnix-e22020da294381b22998ee885876b56614bca890.tar.bz2 gnix-e22020da294381b22998ee885876b56614bca890.tar.zst |
disable h{1,2} options and some readme updatesv2.4.0
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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<PathBuf>, #[serde(default)] pub disable_h3: bool, + #[serde(default)] + pub disable_h2: bool, + #[serde(default)] + pub disable_h1: bool, } // try deser Vec<T> but fall back to deser T and putting that in Vec |