summaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-03-17 20:58:45 +0100
committermetamuffin <metamuffin@disroot.org>2025-03-17 20:58:45 +0100
commit73768c25588779bce122c0e3daa023024e972298 (patch)
tree50d88a2dc201a0da787c2be4d0f762568debf647 /src/config.rs
parent143fe969eb6225c2aa8694930114103f1d4f0c9c (diff)
downloadgnix-73768c25588779bce122c0e3daa023024e972298.tar
gnix-73768c25588779bce122c0e3daa023024e972298.tar.bz2
gnix-73768c25588779bce122c0e3daa023024e972298.tar.zst
disable h3 option
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.rs b/src/config.rs
index 196b489..bc972e3 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -62,6 +62,8 @@ pub struct HttpsConfig {
#[serde(deserialize_with = "seq_or_not")]
pub cert_path: Vec<PathBuf>,
pub cert_fallback: Option<PathBuf>,
+ #[serde(default)]
+ pub disable_h3: bool,
}
// try deser Vec<T> but fall back to deser T and putting that in Vec