]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - pdns/doh.hh
dnsdist: Add support for the processing of X-Forwarded-For headers
[thirdparty/pdns.git] / pdns / doh.hh
index f7f9a80aaa7b2bfbda59fbf873c0a72189933889..9e51c2e065359951176d3f26343d416cf11fd7c7 100644 (file)
@@ -98,6 +98,7 @@ struct DOHFrontend
   HTTPVersionStats d_http1Stats;
   HTTPVersionStats d_http2Stats;
   bool d_sendCacheControlHeaders{true};
+  bool d_trustForwardedForHeader{false};
 
   time_t getTicketsKeyRotationDelay() const
   {