You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- The resp.Body was never closed, thus causing one connection to be
leaked for each executions.
- Creating a new transport based on the default transport, to inherit
some of the default timeouts. Most importantly, this ensure that there
is a default TLSHandshakeTimeout (10s) and dial timeout (30s).
- Disable http keep alive, to avoid reuse of the same http connection.
Otherwise, we may fail the healthcheck when the certs is rotated (new
cert on disk wouldn't match the cert attached to the reused connection
opened earlier).
Fixopen-policy-agent#2654
0 commit comments