Skip to content

Better connection management for http host #214

Description

@incfly

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions