We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7adc845 commit b3497c1Copy full SHA for b3497c1
modules/graceful/server.go
@@ -106,7 +106,7 @@ func (srv *Server) ListenAndServe(serve ServeFunction) error {
106
func (srv *Server) ListenAndServeTLS(certFile, keyFile string, serve ServeFunction) error {
107
config := &tls.Config{}
108
if config.NextProtos == nil {
109
- config.NextProtos = []string{"h2"}
+ config.NextProtos = []string{"h2", "http/1.1"}
110
}
111
112
config.Certificates = make([]tls.Certificate, 1)
0 commit comments