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

Cloneable http client #1983

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

irkill
Copy link

@irkill irkill commented May 27, 2022

Please help keep the CHANGELOG up to date by providing a one sentence summary of your change:

  • Make rusoto_core::request::HttpClient clonable.

rusoto_core::request::HttpClient internally use hyper Client. For performance reasons, it may be useful to reuse the connection pool.

According to hyper Client documentation [https://docs.rs/hyper/latest/hyper/client/struct.Client.html]:

Client is cheap to clone and cloning is the recommended way to share a Client. The underlying connection pool will be reused.

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

1 participant