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 04f4504 commit 54a4d31Copy full SHA for 54a4d31
engine/standard/server.go
@@ -112,9 +112,7 @@ func (s *Server) Start() error {
112
113
if s.config.TLSCertFile != "" && s.config.TLSKeyFile != "" {
114
// TODO: https://github.com/golang/go/commit/d24f446a90ea94b87591bf16228d7d871fec3d92
115
- config := &tls.Config{
116
- NextProtos: []string{"http/1.1"},
117
- }
+ config := &tls.Config{}
118
if !s.config.DisableHTTP2 {
119
config.NextProtos = append(config.NextProtos, "h2")
120
}
0 commit comments