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

Better connection management for http host #214

Open
incfly opened this issue Mar 28, 2022 · 0 comments
Open

Better connection management for http host #214

incfly opened this issue Mar 28, 2022 · 0 comments
Labels
backlog enhancement New feature or request

Comments

@incfly
Copy link

incfly commented Mar 28, 2022

Currently the http.cc https://github.com/istio-ecosystem/authservice/blob/master/src/common/http/http.cc Get Post methods.

Will initiate one connection for every request.
The actual usage typically has many requests per host.
We are also waiting connection to be teared down correctly before returning the http response.

A first step (subtask) could be changing the way we close the connection, use async_wait plus time out.

We should consider the better connection reuse for http requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant