-
Notifications
You must be signed in to change notification settings - Fork 154
Don't force HTTP2 support #143
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
Comments
To save other people the time to investigate this: If you're using a
For requests that succeed, you'd instead see |
Just to clarify, if I'm using the |
Shouldn't be needed since rustls/hyper-rustls#143 was fixed.
Currently hyper-rustls sets alpn_protocols to advertise HTTP2 (in connector.rs).
It doesn't properly work with current hyper features (which require http2 to be explicitly enabled), and forces the user to enable a feature that has a large dependency footprint and potential security surface (or to be incompatible with some peers).
hyper-rustls should give the caller some control over that, prior to building the connector.
And the support should be conditional on an hyper-rustls/http2 feature, so that the dependency set is always correct at compile time. It could work similar to how the root certificates are determined.
The text was updated successfully, but these errors were encountered: