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

client: enable http/2 in hyper-rustls for http client on v0.20.x #1445

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

jbcaron
Copy link

@jbcaron jbcaron commented Aug 21, 2024

Motivation:

  • HTTP/2 offers several improvements over HTTP/1.1, including multiplexing, header compression, and reduced latency.
  • Enabling HTTP/2 support in the jsonrpsee HTTP client aligns with modern web standards and provides potential performance benefits for applications using this library.

Branch Context:

  • This PR is based on the v0.20.x branch due to compatibility issues with certain crates that depend on older versions of zerois. These crates are not compatible with the newer versions of jsonrpsee. By maintaining and improving the v0.20.x branch, we ensure that users who depend on this version can still benefit from enhancements like HTTP/2 support without being forced to upgrade to a newer version of jsonrpsee that may not be compatible with their existing dependencies.

Notes:

  • This change maintains backward compatibility as the client will still support HTTP/1.1 when HTTP/2 is not available.

@jbcaron jbcaron requested a review from a team as a code owner August 21, 2024 07:28
@jbcaron jbcaron changed the title Enable http/2 in hyper-rustls for http client on v0.20.x client: enable http/2 in hyper-rustls for http client on v0.20.x Aug 21, 2024
@niklasad1 niklasad1 merged commit 854b608 into paritytech:v0.20.x Aug 21, 2024
1 check passed
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