minio / sidekick

High Performance HTTP Sidecar Load Balancer
GNU Affero General Public License v3.0
546 stars 82 forks source link

Avoid setting a body recorder for healtcheck req/resp #72

Closed vadmeste closed 1 year ago

vadmeste commented 1 year ago

Currently, the code sends a healthcheck request, then setup a recorder for the request and response body, which does not work obviously.

This also seems to be causing a leak inside golang http code. Removing the unnecessary code fixes the leak.