From 8946447785f04a1ca1190657f3fa352002faf96d Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Fri, 8 Nov 2024 07:42:19 -0700 Subject: [PATCH] add missing duration string handling for remember_broken_tls --- crates/kumo-api-types/src/egress_path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/kumo-api-types/src/egress_path.rs b/crates/kumo-api-types/src/egress_path.rs index 83c70cd7..b6e6006f 100644 --- a/crates/kumo-api-types/src/egress_path.rs +++ b/crates/kumo-api-types/src/egress_path.rs @@ -248,7 +248,7 @@ pub struct EgressPathConfig { /// a site has broken TLS for the duration specified. Once /// encountered, we will pretend that EHLO didn't advertise STARTTLS /// on subsequent connection attempts. - #[serde(default)] + #[serde(default, with = "duration_serde")] pub remember_broken_tls: Option, }