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

feat(transport): add connect timeout to Endpoint #662

Merged
merged 2 commits into from
Jul 1, 2021

Conversation

davidpdrsn
Copy link
Member

Pulls in hyper-timeout which has a connector that can have a timeout
applied. I did consider vendoring hyper-timeout since its a fairly small
crate. I guess we can always do that later since its not exposed
publicly.

I would also like to add a test but I'm not sure about the best way of
testing this.

Fixes #498

Pulls in [hyper-timeout] which has a connector that can have a timeout
applied. I did consider vendoring hyper-timeout since its a fairly small
crate. I guess we can always do that later since its not exposed
publicly.

I would also like to add a test but I'm not sure about the best way of
testing this.

Fixes #498

[hyper-timeout]: https://github.com/hjr3/hyper-timeout
@davidpdrsn davidpdrsn added this to the 0.5 milestone May 23, 2021
@LucioFranco
Copy link
Member

hmmm I'd rather vendor this personally, what do you think @davidpdrsn probably not worth an extra dependency etc

@davidpdrsn
Copy link
Member Author

I will get some time later this week to focus on OSS. Will vendor hyper-timeout then.

@LucioFranco LucioFranco merged commit 2b60a00 into master Jul 1, 2021
@LucioFranco LucioFranco deleted the david/add-connect-timeout branch July 1, 2021 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Connection Timeout for client request
2 participants