heroku / docker-registry-client

A Go API client for the v2 Docker Registry API
BSD 3-Clause "New" or "Revised" License
297 stars 225 forks source link

[wip] always close the HTTP response body #98

Open freedge opened 1 year ago

freedge commented 1 year ago

when the auth service return an HTTP error code we make sure to close the HTTP response body to avoid a socket leak.

wip because I did not test that extensively

freedge commented 1 year ago

this project might be abandoned. I think there might be some other leaks of this kind.