@marcel91200 / caddy Mirror · read-only / commits / f9b42c37
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 13, 16:45 UTC

reverseproxy: Make TLS renegotiation optional

Matthew Holt committed Jun 14, 2022 at 09:05 UTC f9b42c37723ba6fbbfc31c61119fc42963770ce9
1 file changed +1 -1
modules/caddyhttp/reverseproxy/httptransport.go
+1 -1
@@ -403,7 +403,7 @@ func (t TLSConfig) MakeTLSClientConfig(ctx caddy.Context) (*tls.Config, error) {
403
404 // Renegotiation
405 switch t.Renegotiation {
406 - case "never":
406 + case "never", "":
407 cfg.Renegotiation = tls.RenegotiateNever
408 case "once":
409 cfg.Renegotiation = tls.RenegotiateOnceAsClient