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

Do not use http proxy transport when doing healtchecks #121

Closed
wants to merge 1 commit into from

Conversation

vadmeste
Copy link
Member

No description provided.

@@ -955,7 +955,7 @@ func configureSite(ctxt context.Context, ctx *cli.Context, siteNum int, siteStrs
console.Fatalln(err)
}
backend := &Backend{siteNum, endpoint, proxy, &http.Client{
Transport: proxy.Transport,
Transport: transport,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While correct - isn't this the same transport instance?
We set Transport: transport, above

Copy link
Member Author

@vadmeste vadmeste Nov 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes you are right. I found a way to reproduce an issue consistently, this does not fix anything. Transport is thread safe already. Closing this.

@vadmeste vadmeste closed this Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants