• Miek Gieben's avatar
    Fix max-age in http server (#1890) · dae506b5
    Miek Gieben authored
    * 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
    dae506b5
cache.go 5.74 KB