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

Disable the hyper http2 feature #143

Merged
merged 2 commits into from
Feb 23, 2022
Merged

Disable the hyper http2 feature #143

merged 2 commits into from
Feb 23, 2022

Conversation

paolobarbolini
Copy link
Contributor

Since you're going to release a minor version anyway I wouldn't mind having the ability to reduce hyper's dependencies.


Makes the http2 feature optional and enables it by default.

@jonhoo
Copy link
Owner

jonhoo commented Dec 10, 2021

Good call. Should we even include http2 support at all? Is it actually supported (or more importantly, required) for any WebDriver servers?

@paolobarbolini
Copy link
Contributor Author

I'm not sure. The http2 feature was enabled in commit 715a711. I guess it was either done to explicitly get HTTP/2 enabled or to work around rustls/hyper-rustls#141

@jonhoo
Copy link
Owner

jonhoo commented Dec 16, 2021

That's a very good question. @x0f5c3 can you shed some light on the use of the http2 feature? I'd be totally happy to remove it altogether.

@x0f5c3
Copy link
Contributor

x0f5c3 commented Feb 22, 2022

I think it was done to work around the rustls issue, if it was fixed I guess it could be disabled since AFAIK WebDriver protocol doesn't use HTTP2

@paolobarbolini paolobarbolini changed the title Make the hyper http2 feature optional Disable the hyper http2 feature Feb 22, 2022
Copy link
Owner

@jonhoo jonhoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent, thanks!

@jonhoo jonhoo merged commit 78492ff into jonhoo:master Feb 23, 2022
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.

3 participants