aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/caddyhttp/app.go
diff options
context:
space:
mode:
authorMatt Holt <[email protected]>2022-08-01 13:36:22 -0600
committerGitHub <[email protected]>2022-08-01 13:36:22 -0600
commitf783290f40febd3eef2a299911ad95bab4d2b414 (patch)
tree1baed0987f2ad5ed723dbda671f0eec13a414ca7 /modules/caddyhttp/app.go
parentebd6abcbd5f6b31b7b4cadca0a546d9f0eab9ad3 (diff)
downloadcaddy-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.go2
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)
}
}