Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2017-07-03 19:35:47 +0300
committerNick Thomas <nick@gitlab.com>2017-07-03 19:35:47 +0300
commita2d23440d0ea6492ed44f16eed253fd4722b1bd2 (patch)
tree91dc08d60558979c446946c21b5c8618177c0b55
parent86e6f0e1134f990c4a5d3c4d5735db0f334d5551 (diff)
parent3c68efd583021f859a49df4e8063c75ad00c0bd6 (diff)
Merge branch 'http2-alpn' into 'master'
Fix HTTP/2 ALPN negotiation See merge request !37
-rw-r--r--server.go3
1 files changed, 0 insertions, 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,
}