-
Notifications
You must be signed in to change notification settings - Fork 16
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
http. RoundTripper is not re-used #10
Labels
bug
Something isn't working
Comments
pavelmemory
changed the title
http.Client is not re-used
http. RoundTripper is not re-used
Nov 9, 2021
@pavelmemory, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the bitbucketserver and github vcsclient(s) the
http.RoundTripper
is not re-used, but created for each new request ifclient.vcsInfo.Token
is provided.This can cause an issue because connections acquire file descriptors and won't be released immediately after http.Client garbage collection, please see https://golang.org/src/net/http/transport.go#L68
The text was updated successfully, but these errors were encountered: