Skip to content

add possibility to pass preconfigured http client to reuse http/tls resources for consequent requests#44

Merged
henryx merged 1 commit intojopenlibs:masterfrom
samfrown:http-connection-reusage
Jul 25, 2023
Merged

add possibility to pass preconfigured http client to reuse http/tls resources for consequent requests#44
henryx merged 1 commit intojopenlibs:masterfrom
samfrown:http-connection-reusage

Conversation

@samfrown
Copy link

@samfrown samfrown commented Jul 18, 2023

Hi.

This address the known issue from the base repo: BetterCloud#239.

The idea is to pass a preconfigured HttpClient to VaultConfig and then reuse it by consequent requests done by the same Vault instance. This improves performance and takes full advantages of HTTP/2 protocol by sharing http connections.
The changes cover only user API so far.

…use it (together with connections) for consequent requests
@henryx
Copy link
Collaborator

henryx commented Jul 25, 2023

Hi @samfrown, thank you for the PR. For me is a good idea, so I've reviewed the PR and for me is able to be merged

@henryx henryx merged commit e62bd9d into jopenlibs:master Jul 25, 2023
@samfrown
Copy link
Author

Thanks @henryx!
When this can be released?

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