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

Allow running http1-only or http2-only servers #156

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

Conversation

giladwolff
Copy link

This commit exposes two methods of the hyper-utils http1-only and http2-only to allow callers to configure their servers to accept requests using a specific protocol. The currently exposed mutable http-builder cannot be used to switch to http1/2 only mode.

This is similar to #130 but more limited in scope and does not break compatibility. It can be folded into that when that is merged but unblocks current usages.

Testing done: new and old unit-tests.

@giladwolff giladwolff marked this pull request as ready for review November 19, 2024 21:56
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.

1 participant