mirror of https://github.com/minio/minio.git
5792be71fa
Following code can reproduce an unending go-routine buildup, while keeping connections established due to lack of client not closing the connections. https://gist.github.com/harshavardhana/2d00e6f909054d2d2524c71485ad02e1 Without this PR all MinIO deployments can be put into denial of service attacks, causing entire service to be unavailable. We bring in two timeouts at this stage to control such go-routine build ups, new change - IdleTimeout (to kill off idle connections) - ReadHeaderTimeout (to kill off connections that are too slow) This new change also brings two hidden options to make any additional relevant changes if desired in some setups. |
||
---|---|---|
.. | ||
stats | ||
close.go | ||
dial_dnscache.go | ||
dial_linux.go | ||
dial_others.go | ||
headers.go | ||
listen_nix.go | ||
listen_others.go | ||
listener.go | ||
listener_test.go | ||
server.go | ||
server_test.go |