Skip to content
Snippets Groups Projects
Commit d736403b authored by Aaron Wood's avatar Aaron Wood
Browse files

activation: remove setting of NextProtos from tls config to take advantage of HTTP/2 where possible

parent bc1f75b4
No related branches found
No related tags found
No related merge requests found
......@@ -48,8 +48,6 @@ func TLSListeners(unsetEnv bool, tlsConfig *tls.Config) ([]net.Listener, error)
}
if tlsConfig != nil && err == nil {
tlsConfig.NextProtos = []string{"http/1.1"}
for i, l := range listeners {
// Activate TLS only for TCP sockets
if l.Addr().Network() == "tcp" {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment