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

chore(proxy/http): address hyper::client::conn::Builder deprecations #3427

Merged
merged 3 commits into from
Dec 6, 2024

Conversation

cratelyn
Copy link
Collaborator

@cratelyn cratelyn commented Dec 5, 2024

this branch contains a sequence of commits that focus on addressing deprecation warnings related to hyper::client::conn::Builder. this branch enables the backports feature, and then replaces some of these builders with the backported, http/2 specific, hyper::client::conn::http2::Builder type.

relates to linkerd/linkerd2#8733.

this commit updates `Connection<B>` to use the backported, http/2
specific `SendRequest` type.

this commit enables the `backports` feature flag in the `hyper`
dependency.

Signed-off-by: katelyn martin <[email protected]>
`connect()` is never called elsewhere. let's avoid the misdirection and
move it into the body of `connect_h2()`.

Signed-off-by: katelyn martin <[email protected]>
@cratelyn cratelyn marked this pull request as ready for review December 5, 2024 21:08
@cratelyn cratelyn requested a review from a team as a code owner December 5, 2024 21:08
@cratelyn cratelyn merged commit 2989101 into main Dec 6, 2024
15 checks passed
@cratelyn cratelyn deleted the kate/hyper-1.x-update-some-client-connections branch December 6, 2024 16:31
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