madmin: close http response when returning an error (#6526)
httpRespToErrorResponse() usually reads the http response when the http error code is not expected to parse the json error response in the http body, however it was never properly closing the connection. This PR fixes the behavior.master
parent
ce1bfa6de8
commit
20378821cf
Loading…
Reference in new issue