diff options
author | Matt Holt <[email protected]> | 2022-08-01 13:36:22 -0600 |
---|---|---|
committer | GitHub <[email protected]> | 2022-08-01 13:36:22 -0600 |
commit | f783290f40febd3eef2a299911ad95bab4d2b414 (patch) | |
tree | 1baed0987f2ad5ed723dbda671f0eec13a414ca7 /modules/caddyhttp/app.go | |
parent | ebd6abcbd5f6b31b7b4cadca0a546d9f0eab9ad3 (diff) | |
download | caddy-f783290f40febd3eef2a299911ad95bab4d2b414.tar.gz caddy-f783290f40febd3eef2a299911ad95bab4d2b414.zip |
caddyhttp: Implement `caddy respond` command (#4870)
Diffstat (limited to 'modules/caddyhttp/app.go')
-rw-r--r-- | modules/caddyhttp/app.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/caddyhttp/app.go b/modules/caddyhttp/app.go index 1894a975c..82e052c9e 100644 --- a/modules/caddyhttp/app.go +++ b/modules/caddyhttp/app.go @@ -392,6 +392,8 @@ func (app *App) Start() error { //nolint:errcheck go s.Serve(ln) + + srv.listeners = append(srv.listeners, ln) app.servers = append(app.servers, s) } } |