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

chore: support hyper v1 #21

Merged
merged 1 commit into from Nov 19, 2023
Merged

chore: support hyper v1 #21

merged 1 commit into from Nov 19, 2023

Conversation

omjadas
Copy link
Contributor

@omjadas omjadas commented Nov 19, 2023

Adds support for hyper v1.

I have made the body type for the Response returned from upgrade a Full<Bytes>, but it could also be one of the following:

I am happy to change that if you see fit.

@de-vri-es
Copy link
Owner

Thanks for the PR! It looks good. And I agree with the choice of Full for the returned body, it makes sense :)

I'm kinda disappointed that with hyper 1.0 we still need to spawn the upgrade handle in a task before returning the response, but there's nothing we can do about that here :(

@de-vri-es de-vri-es merged commit 4ef5639 into de-vri-es:main Nov 19, 2023
1 check passed
@de-vri-es
Copy link
Owner

Released as v0.12.0 \o/

Thanks again!

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