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

net/http2: don't re-use connections that are experiencing errors #171

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Apr 28, 2023

  1. net/http2: don't reuse connections that are experiencing errors

    This adds @dniel's changes from https://go-review.googlesource.com/c/net/+/486156
    
    When a request on a connection fails to complete successfully,
    mark the conn as doNotReuse. It's possible for requests to
    fail for reasons unrelated to connection health,
    but opening a new connection unnecessarily is less of an
    impact than reusing a dead connection.
    
    Fixes golang/go#59690
    btasker committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    ebc51a0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ef8ed4e View commit details
    Browse the repository at this point in the history