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

add configs to client.HTTPConfig #30

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

Conversation

zajann
Copy link

@zajann zajann commented Jan 14, 2020

In the current version, it is unable to set transport for http.Client.
If many connections and fast run, there is problem with ever-increasing TIME_WAIT socket on a network.
Creating and derivering http.client pointer may be one way, but to minimize modifications of origin code i just add http.Transport config to client.HTTPConfig.
I think It allows to handle http.Client Transport configurations about Connections at least.

@zajann zajann requested a review from pauldix January 19, 2020 23:50
@pauldix pauldix requested review from jsternberg and removed request for pauldix March 22, 2021 21:07
@nexustar
Copy link

Thanks for your work, it helps a lot on our system. @sranka Cloud you help to merge it.

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