mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
Use one http response recorder per external http call (#16938)
This commit is contained in:
@@ -555,7 +555,7 @@ func addCustomHeaders(h http.Handler) http.Handler {
|
||||
if globalLocalNodeName != "" {
|
||||
w.Header().Set(xhttp.AmzRequestHostID, globalLocalNodeNameHex)
|
||||
}
|
||||
h.ServeHTTP(xhttp.NewResponseRecorder(w), r)
|
||||
h.ServeHTTP(w, r)
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user