diff options
author | Matt Holt <[email protected]> | 2019-04-02 20:58:24 +0000 |
---|---|---|
committer | Matt Holt <[email protected]> | 2019-04-02 20:58:24 +0000 |
commit | f976aa744385b097239a7323af4dec11f83bc949 (patch) | |
tree | af03a27191f11ef5c6323c86bb011d1332483f6f /caddy.go | |
parent | 6621406fa8b44826477ba7cbe2ff6c5462048f8e (diff) | |
download | caddy-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.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |