mirror of
https://github.com/minio/minio.git
synced 2025-11-28 05:04:14 -05:00
server: Add connection rate limiter for server. (#1977)
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
57146fbbb8
commit
936a916e78
@@ -70,6 +70,8 @@ func configureServerHandler(srvCmdConfig serverCmdConfig) http.Handler {
|
||||
// List of some generic handlers which are applied for all
|
||||
// incoming requests.
|
||||
var handlerFns = []HandlerFunc{
|
||||
// Limits the number of concurrent http requests.
|
||||
setRateLimitHandler,
|
||||
// Redirect some pre-defined browser request paths to a static
|
||||
// location prefix.
|
||||
setBrowserRedirectHandler,
|
||||
|
||||
Reference in New Issue
Block a user