diff options
author | 2018-06-27 21:12:27 +0100 | |
---|---|---|
committer | 2018-06-27 21:12:27 +0100 | |
commit | dae506b5638c7309399cb273d7f76bc20ee518dd (patch) | |
tree | 3fe5eb2c2e2d4b7e047fe87ebeccc0e9e7aa5ea4 /plugin/rewrite/class.go | |
parent | 99287d091c2db4028e54782fd4de43f63ca4b040 (diff) | |
download | coredns-dae506b5638c7309399cb273d7f76bc20ee518dd.tar.gz coredns-dae506b5638c7309399cb273d7f76bc20ee518dd.tar.zst coredns-dae506b5638c7309399cb273d7f76bc20ee518dd.zip |
Fix max-age in http server (#1890)
* Fix max-age in http server
Move the minMsgTTL to dnsutil and rename it MinimalTTL, move some
constants there as well.
Use these new function in server_https to correctly set the max-age
HTTP header.
Fixes: #1823
* Linter
Diffstat (limited to 'plugin/rewrite/class.go')
0 files changed, 0 insertions, 0 deletions