From fe389fcbd7c3b8c64167d317b31adf7b98147fa8 Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Wed, 11 Sep 2019 18:49:21 -0600 Subject: http: Set Alt-Svc header if experimental HTTP3 server is enabled --- modules/caddyhttp/caddyhttp.go | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/caddyhttp/caddyhttp.go') 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 } ///////// } -- cgit v1.2.3