Skip to content
Snippets Groups Projects
Commit 5c49e485 authored by Jonathan Boulle's avatar Jonathan Boulle Committed by GitHub
Browse files

Merge pull request #191 from aaronjwood/master

activation: don't specify NextProtos so that we can take advantage of HTTP/2
parents bfdc81d0 d736403b
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