go-graphite / carbonapi

Potential slowloris attack GO-S2112
Security
Major
5 months ago2 years old
Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server
102
103			wg.Add(1)
104			wgStart.Add(1)
105			server := &http.Server{106				Addr:    listener.Address,
107				Handler: mux,
108			}
Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server
117
118		for _, ip := range ips {
119			address := (&net.TCPAddr{IP: ip, Port: port}).String()
120			s := &http.Server{121				Addr:     address,
122				Handler:  handler,
123				ErrorLog: httpLogger,