mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 04:30:26 +03:00
Remove SignatureV2 support, bring in SignatureV4 header only validation for now
This commit is contained in:
@@ -63,12 +63,12 @@ func HTTPHandler(driver drivers.Driver) http.Handler {
|
||||
}
|
||||
h := timeValidityHandler(mux)
|
||||
h = ignoreResourcesHandler(h)
|
||||
h = validateRequestHandler(conf, h)
|
||||
h = validateAuthHeaderHandler(conf, h)
|
||||
// h = quota.BandwidthCap(h, 25*1024*1024, time.Duration(30*time.Minute))
|
||||
// h = quota.BandwidthCap(h, 100*1024*1024, time.Duration(24*time.Hour))
|
||||
// h = quota.RequestLimit(h, 100, time.Duration(30*time.Minute))
|
||||
// h = quota.RequestLimit(h, 1000, time.Duration(24*time.Hour))
|
||||
h = quota.ConnectionLimit(h, 5)
|
||||
h = quota.ConnectionLimit(h, 2)
|
||||
h = logging.LogHandler(h)
|
||||
return h
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user