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

Properly close response body before retrying #68

Open aruiz14 opened 5 years ago

aruiz14 commented 5 years ago

This avoids leaking the TCP connection during the 30 seconds period until timeout, and reuse it instead.