From 0c8ad52be127add6f2c050230f1f166ecbde813c Mon Sep 17 00:00:00 2001 From: Matt Holt Date: Tue, 10 Sep 2019 08:03:37 -0600 Subject: Experimental IETF-standard HTTP/3 support (known issue exists) (#2727) * Begin WIP integration of HTTP/3 support * http3: Set actual Handler, make fakeClosePacketConn type for UDP sockets Also use latest quic-go for ALPN fix * Manually keep track of and close HTTP/3 listeners * Update quic-go after working through some http3 bugs * Fix go mod * Make http3 optional for now --- modules/caddyhttp/server.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/caddyhttp/server.go') diff --git a/modules/caddyhttp/server.go b/modules/caddyhttp/server.go index dc38b19..e16a600 100644 --- a/modules/caddyhttp/server.go +++ b/modules/caddyhttp/server.go @@ -43,6 +43,9 @@ type Server struct { MaxRehandles *int `json:"max_rehandles,omitempty"` StrictSNIHost bool `json:"strict_sni_host,omitempty"` + // This field is not subject to compatibility promises + ExperimentalHTTP3 bool `json:"experimental_http3,omitempty"` + tlsApp *caddytls.TLS } -- cgit v1.2.3