Skip to content

Commit

Permalink
fix CLA
Browse files Browse the repository at this point in the history
Signed-off-by: hejianpeng <hejianpeng2@huawei.com>
  • Loading branch information
zirain committed Apr 20, 2023
1 parent 52a2b2b commit 8f28ed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/admission/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func main() {

server := &http.Server{
Addr: ":8443",
ReadTimeout: 5 * time.Second, // for Potential Slowloris Attack
ReadHeaderTimeout: 10 * time.Second, // for Potential Slowloris Attack (G112)
// Require at least TLS12 to satisfy golint G402.
TLSConfig: &tls.Config{MinVersion: tls.VersionTLS12, Certificates: []tls.Certificate{certs}},
}
Expand Down

0 comments on commit 8f28ed4

Please sign in to comment.