From 3c68efd583021f859a49df4e8063c75ad00c0bd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=AAnis=20Volpato=20Martins?= Date: Mon, 3 Jul 2017 12:40:28 -0300 Subject: Fix HTTP/2 ALPN negotiation --- server.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/server.go b/server.go index bee3e5f2..cfc1dbb9 100644 --- a/server.go +++ b/server.go @@ -57,9 +57,6 @@ func listenAndServeTLS(fd uintptr, cert, key []byte, handler http.HandlerFunc, t tlsConfig := &tls.Config{} tlsConfig.GetCertificate = tlsHandler - tlsConfig.NextProtos = []string{ - "http/1.1", - } tlsConfig.Certificates = []tls.Certificate{ certificate, } -- cgit v1.2.3