From b8c8dacb5d792c9abfd5d7fcfe999d30a07402af Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 9 Jul 2020 20:26:07 +0200 Subject: [PATCH] Remove max-stale --- src/libdoh/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libdoh/src/lib.rs b/src/libdoh/src/lib.rs index 0060157..6b4ca0b 100644 --- a/src/libdoh/src/lib.rs +++ b/src/libdoh/src/lib.rs @@ -212,7 +212,7 @@ impl DoH { .header(hyper::header::CONTENT_TYPE, "application/dns-message") .header( hyper::header::CACHE_CONTROL, - format!("max-age={}, max-stale={}, stale-while-revalidate={}, stale-if-error={}", ttl, ttl, ttl, ttl).as_str(), + format!("max-age={}, stale-while-revalidate={}, stale-if-error={}", ttl, ttl, ttl).as_str(), ) .body(Body::from(packet)) .unwrap();