diff options
author | Matthew Holt <mholt@users.noreply.github.com> | 2019-09-11 18:49:21 -0600 |
---|---|---|
committer | Matthew Holt <mholt@users.noreply.github.com> | 2019-09-11 18:49:21 -0600 |
commit | fe389fcbd7c3b8c64167d317b31adf7b98147fa8 (patch) | |
tree | 20583504dca4a5ddaec4e16c80f5ea589484d93a /modules/caddyhttp/caddyhttp.go | |
parent | 005a11cf4b0af5bfbbb72f8572681b327675541c (diff) |
http: Set Alt-Svc header if experimental HTTP3 server is enabled
Diffstat (limited to 'modules/caddyhttp/caddyhttp.go')
-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 7f33c1d..693f416 100644 --- a/modules/caddyhttp/caddyhttp.go +++ b/modules/caddyhttp/caddyhttp.go @@ -209,6 +209,7 @@ func (app *App) Start() error { go h3srv.Serve(h3ln) app.h3servers = append(app.h3servers, h3srv) app.h3listeners = append(app.h3listeners, h3ln) + srv.h3server = h3srv } ///////// } |