• Miek Gieben's avatar
    mw/health: call Shutdown on FinalShutdown (#1003) · 7b8cf9df
    Miek Gieben authored
    Reloading caddy won't kill the health handler. Only on final shutdown
    we stop the handler.
    
    Currently when reloading CoreDNS with -SIGUSR1 the health handler stops
    answering - there is a test for this but it doesn't capture whole
    process reloading, sadly. This PR keeps the handler alive during reloads
    and only stops on process shutdown.
    7b8cf9df
setup.go 1.2 KB