mirror of
https://github.com/minio/minio.git
synced 2025-11-22 10:37:42 -05:00
optimize request URL encoding for internode (#10811)
this reduces allocations in order of magnitude Also, revert "erasure: delete dangling objects automatically (#10765)" affects list caching should be investigated.
This commit is contained in:
@@ -81,7 +81,7 @@ func storageServerRequestValidate(r *http.Request) error {
|
||||
return errAuthentication
|
||||
}
|
||||
|
||||
if claims.Audience != r.URL.Query().Encode() {
|
||||
if claims.Audience != r.URL.RawQuery {
|
||||
return errAuthentication
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user