Skip to content

Commit

Permalink
Enable HTTP/2 requests
Browse files Browse the repository at this point in the history
The HTTP/2 Rapid Reset vulnerability was fixed in Go 1.21.3, and
we're already deploying newer than that.
  • Loading branch information
justinclift committed Dec 31, 2023
1 parent fc9bd9f commit ffc636d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@ func main() {
TLSConfig: &tls.Config{
MinVersion: tls.VersionTLS12, // TLS 1.2 is now the lowest acceptable level
},
TLSNextProto: make(map[string]func(*http.Server, *tls.Conn, http.Handler), 0),
}

// Add gzip middleware
Expand Down

0 comments on commit ffc636d

Please sign in to comment.