diff options
author | Matthew Holt <[email protected]> | 2018-04-02 08:17:21 -0600 |
---|---|---|
committer | Matthew Holt <[email protected]> | 2018-04-02 08:17:21 -0600 |
commit | 917a60409417db8344a86f5e89be9ab323b6224c (patch) | |
tree | 26754eee697b6946fdb339be90857e5fb2c5b158 /caddy.go | |
parent | b33b24fc9e9d50ce73ec386e44c316d70c47642c (diff) | |
download | caddy-917a60409417db8344a86f5e89be9ab323b6224c.tar.gz caddy-917a60409417db8344a86f5e89be9ab323b6224c.zip |
httpserver: Ignore ErrServerClosed when closing server
Diffstat (limited to 'caddy.go')
-rw-r--r-- | caddy.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -798,7 +798,7 @@ func startServers(serverList []Server, inst *Instance, restartFds map[string]res continue } if strings.Contains(err.Error(), "use of closed network connection") { - // this error is normal when closing the listener + // this error is normal when closing the listener; see https://github.com/golang/go/issues/4373 continue } log.Println(err) |