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

Make an Auto (or Either) server Connection type #2852

Closed
seanmonstar opened this issue May 20, 2022 · 0 comments · Fixed by hyperium/hyper-util#11
Closed

Make an Auto (or Either) server Connection type #2852

seanmonstar opened this issue May 20, 2022 · 0 comments · Fixed by hyperium/hyper-util#11
Labels
A-server Area: server. C-feature Category: feature. This is adding a new feature. E-hard Effort: hard. Likely requires a deeper understanding of how hyper's internals work. K-hyper-util Crate: hyper-util

Comments

@seanmonstar
Copy link
Member

After splitting up the Connection type, create an AutoConnection (or EitherConnection (naming is hard)), that handles multiple versions together.

It may need some extra work to handle the current HTTP/1 -> HTTP/2 fallback logic.

@seanmonstar seanmonstar added A-server Area: server. C-feature Category: feature. This is adding a new feature. E-hard Effort: hard. Likely requires a deeper understanding of how hyper's internals work. B-rfc Blocked: More comments would be useful in determine next steps. labels May 20, 2022
@seanmonstar seanmonstar added this to the 1.0 milestone May 20, 2022
@seanmonstar seanmonstar moved this to Needs discussion / design in hyper 1.0 Jun 15, 2022
@seanmonstar seanmonstar modified the milestones: 1.0 RC1, hyper-util 0.1 Aug 22, 2022
@programatik29 programatik29 added the K-hyper-util Crate: hyper-util label Nov 18, 2022
@seanmonstar seanmonstar removed the B-rfc Blocked: More comments would be useful in determine next steps. label Dec 8, 2022
@seanmonstar seanmonstar moved this from Needs discussion / design to In Progress in hyper 1.0 Dec 8, 2022
@github-project-automation github-project-automation bot moved this from In Progress to Done in hyper 1.0 Sep 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-server Area: server. C-feature Category: feature. This is adding a new feature. E-hard Effort: hard. Likely requires a deeper understanding of how hyper's internals work. K-hyper-util Crate: hyper-util
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants