diff options
author | DĂȘnis Volpato Martins <denisvm@gmail.com> | 2017-07-03 18:40:28 +0300 |
---|---|---|
committer | DĂȘnis Volpato Martins <denisvm@gmail.com> | 2017-07-03 18:40:28 +0300 |
commit | 3c68efd583021f859a49df4e8063c75ad00c0bd6 (patch) | |
tree | 91dc08d60558979c446946c21b5c8618177c0b55 /server.go | |
parent | 86e6f0e1134f990c4a5d3c4d5735db0f334d5551 (diff) |
Fix HTTP/2 ALPN negotiation
Diffstat (limited to 'server.go')
-rw-r--r-- | server.go | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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, } |