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 possibility to pass preconfigured http client to reuse http/tls resources for consequent requests #44

Merged
merged 1 commit into from
Jul 25, 2023

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
35 checks passed
@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.

None yet

2 participants