summaryrefslogtreecommitdiffhomepage
path: root/caddy.go
diff options
context:
space:
mode:
authorMatt Holt <[email protected]>2019-04-02 20:58:24 +0000
committerMatt Holt <[email protected]>2019-04-02 20:58:24 +0000
commitf976aa744385b097239a7323af4dec11f83bc949 (patch)
treeaf03a27191f11ef5c6323c86bb011d1332483f6f /caddy.go
parent6621406fa8b44826477ba7cbe2ff6c5462048f8e (diff)
downloadcaddy-f976aa744385b097239a7323af4dec11f83bc949.tar.gz
caddy-f976aa744385b097239a7323af4dec11f83bc949.zip
Merged in deadlines (pull request #1)
Cleanly fake-close listeners * WIP debugging listener deadlines * Fix listener deadlines
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 20e2d6c5a..b4af632e5 100644
--- a/caddy.go
+++ b/caddy.go
@@ -34,7 +34,7 @@ func Start(cfg Config) error {
currentCfgMu.Lock()
if currentCfg != nil {
- for _, r := range cfg.runners {
+ for _, r := range currentCfg.runners {
err := r.Cancel()
if err != nil {
log.Println(err)