Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(compute/metadata): set IdleConnTimeout for http.Client #7084

Merged
merged 2 commits into from Nov 18, 2022

Commits on Nov 18, 2022

  1. fix(compute/metadata): set IdleConnTimeout for http.Client

    This helps clean up idled connections held by the keep-alive.
    The default transport set this to 90 seconds but since we
    declare our own the default zero value means they are never
    closed out if they are under the threshold for connections to
    keep alive(2).
    
    Fixes: googleapis#5430
    codyoss committed Nov 18, 2022
    Copy the full SHA
    fe9024b View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    1d7c657 View commit details
    Browse the repository at this point in the history