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

Disable HTTP keepalive or reduce idle timeout #6

Open
paulf69487623 opened this issue Feb 2, 2023 · 0 comments
Open

Disable HTTP keepalive or reduce idle timeout #6

paulf69487623 opened this issue Feb 2, 2023 · 0 comments

Comments

@paulf69487623
Copy link
Collaborator

I was just doing a scan, and discovered that the HTTP client is doing HTTP keepalive by default. For our use case, we don't really benefit from this. We should disable it, or at least set the idle timeout to be very short. Eg, 10 seconds.

This will probably require us to use a specific http.Client with an http.Transport configuration.

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

No branches or pull requests

1 participant