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

Share a client instead of creating one per request #58

Closed
wants to merge 1 commit into from

Conversation

angelsl
Copy link
Contributor

@angelsl angelsl commented Nov 5, 2018

This lets Hyper's connection pooling actually work.

Unfortunately this is an API-breaking change. I'm not sure how you want to handle this...

This makes Hyper's connection pooling work
@bytesnake
Copy link
Owner

Perhaps you can introduce a try_new function, the new function will then just unwrap the result and assume that a failure in hyper is critical for the program.

@bytesnake
Copy link
Owner

Merged into 40e7d37

@bytesnake bytesnake closed this Jun 12, 2019
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