Skip to content

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
@artob
Copy link

artob commented May 8, 2025

This would be useful!

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.

2 participants