letsencrypt / challtestsrv

Small TEST-ONLY server for mock DNS & responding to HTTP-01, DNS-01, and TLS-ALPN-01 ACME challenges.
Mozilla Public License 2.0
18 stars 20 forks source link

Avoid logging on a clean server shutdown. #15

Closed jsha closed 2 years ago

jsha commented 2 years ago

Go's ListenAndServe methods return an error with the text "Server close", even on a clean shutdown. We should suppress this spurious error so it doesn't mask more meaningful ones.

Also, update to a more recent golangci-lint and exempt some lints in order to fix the build.