Files
Prathyush PV b4fbfe00dd Close the version check response body on every path (#11437)
## What changed

`versioninfo.Caller.Call` closes the response body on every path, not
just the 200 one. The two goroutines reported in the leak test is from
this.

## Why?

The `defer` sat below the status check, so a non-200 returned with the
body open. The transport sets `DisableKeepAlives`, so its read and write
loops stay pinned waiting for a body nothing will close — one connection
leaked per failed check, for the process lifetime.

## How did you test it?
- [x] built
- [x] covered by existing tests
2026-08-10 15:08:19 -07:00
..