diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/caddyhttp/caddyhttp.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/caddyhttp/caddyhttp.go b/modules/caddyhttp/caddyhttp.go index ec2637a..529c1f7 100644 --- a/modules/caddyhttp/caddyhttp.go +++ b/modules/caddyhttp/caddyhttp.go @@ -49,6 +49,7 @@ func (hc *httpModuleConfig) Run() error { return fmt.Errorf("%s: listening on %s: %v", proto, addr, err) } go s.Serve(ln) + hc.servers = append(hc.servers, s) } } } |