opentelemetry-collector icon indicating copy to clipboard operation
opentelemetry-collector copied to clipboard

[confighttp] Set explicit `ReadTimeout` and `WriteTimeout` on servers

Open mx-psi opened this issue 1 month ago • 0 comments

To prevent Slowloris attacks we can explicitly set default values for ReadTimeout and WriteTimeout on net/http.Server.

We may need to go through a feature gate process for this since it's potentially breaking for people.

Reported as part of the recent security audit.

mx-psi avatar Jun 26 '24 17:06 mx-psi