Remove h2 from NextProtos since it doesn't work (#6705)

This commit is contained in:
Pontus Leitzler
2018-10-26 09:18:39 +02:00
committed by Nitish Tiwari
parent 555d54371c
commit ea73accefd
2 changed files with 2 additions and 2 deletions

View File

@@ -192,7 +192,7 @@ func NewServer(addrs []string, handler http.Handler, getCert certs.GetCertificat
CipherSuites: defaultCipherSuites,
CurvePreferences: secureCurves,
MinVersion: tls.VersionTLS12,
NextProtos: []string{"http/1.1", "h2"},
NextProtos: []string{"http/1.1"},
}
tlsConfig.GetCertificate = getCert
}