summaryrefslogtreecommitdiffhomepage
path: root/caddy.go
diff options
context:
space:
mode:
authorMatthew Holt <[email protected]>2018-04-02 08:17:21 -0600
committerMatthew Holt <[email protected]>2018-04-02 08:17:21 -0600
commit917a60409417db8344a86f5e89be9ab323b6224c (patch)
tree26754eee697b6946fdb339be90857e5fb2c5b158 /caddy.go
parentb33b24fc9e9d50ce73ec386e44c316d70c47642c (diff)
downloadcaddy-917a60409417db8344a86f5e89be9ab323b6224c.tar.gz
caddy-917a60409417db8344a86f5e89be9ab323b6224c.zip
httpserver: Ignore ErrServerClosed when closing server
Diffstat (limited to 'caddy.go')
-rw-r--r--caddy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/caddy.go b/caddy.go
index 917a5d069..2e3235441 100644
--- a/caddy.go
+++ b/caddy.go
@@ -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)