diff options
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 |