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

h2: "readd" max_pending_accept_reset_streams configuration option #3507

Merged
merged 1 commit into from
Dec 29, 2023
Merged

h2: "readd" max_pending_accept_reset_streams configuration option #3507

merged 1 commit into from
Dec 29, 2023

Conversation

dsgallups
Copy link
Contributor

@dsgallups dsgallups commented Dec 28, 2023

This PR is a partial reimplementation of @Noah-Kennedy's changes in #3201.

As described in #3461, hyper is missing the max_pending_accept_reset_streams added to h2 in #3201.

I essentially copy/pasted Noah's code, but not sure how to signal that he wrote the code in this PR. Not a git wizard, so if there's some way to remerge his changes from the original PR, I will close this.

Edit: Per the PR guidelines, happy to add tests for the existing configuration values to prevent this from re-occurring.
wouldn't have stopped this from happening 🤷, just lmk

@Noah-Kennedy
Copy link
Contributor

I'm confused, is that change not in 1.0?

@dsgallups
Copy link
Contributor Author

I don't think so...

@Noah-Kennedy
Copy link
Contributor

@seanmonstar

…onfig`

In places where required, the `max_pending_accept_reset_streams` option was reimplemented, as in PR #3201

May close #3461
@seanmonstar seanmonstar merged commit a9fa893 into hyperium:master Dec 29, 2023
21 checks passed
allan2 added a commit to allan2/hyper-util that referenced this pull request Jan 3, 2024
This function was in 0.14 but missed in 1.0.

The original function was merged [here](https://github.com/hyperium/hyper/pull/3201/files/e8296d1c5bded88a508f1ca1f35791c30803182d)
This commit simply copies directly from it.

The config part has been merged into hyper 1.0 (hyperium/hyper#3507).
This commit completes the re-addition of this missing function.
ikrivosheev pushed a commit to ikrivosheev/hyper-util that referenced this pull request Feb 27, 2024
This function was in 0.14 but missed in 1.0.

The original function was merged [here](https://github.com/hyperium/hyper/pull/3201/files/e8296d1c5bded88a508f1ca1f35791c30803182d)
This commit simply copies directly from it.

The config part has been merged into hyper 1.0 (hyperium/hyper#3507).
This commit completes the re-addition of this missing function.
seanmonstar pushed a commit to hyperium/hyper-util that referenced this pull request Feb 28, 2024
This function was in 0.14 but missed in 1.0.

The original function was merged [here](https://github.com/hyperium/hyper/pull/3201/files/e8296d1c5bded88a508f1ca1f35791c30803182d)
This commit simply copies directly from it.

The config part has been merged into hyper 1.0 (hyperium/hyper#3507).
This commit completes the re-addition of this missing function.
cratelyn added a commit to cratelyn/hyper that referenced this pull request Nov 27, 2024
…builder

NB: this commit is based on the `0.14.x` release series.

the `server::conn::http2` submodule provides types that are
conditionally compiled when the `backports` feature is active, to
facilitate upgrading to the `1.x` release.

i've been working on upgrading the
[`linkerd2-proxy`](https://github.com/linkerd/linkerd2-proxy/) project
to use hyper 1.0, but encountered some gaps in `Builder<E>`'s interface
when setting the `backports` and `deprecated` features.

this adds a `max_pending_accept_reset_streams(..)` method
(_added in #3201_) to this builder, so that 0.14.x users relying on
this functionality can prepare to upgrade to hyper 1.x safely.

this is effectively a backport of hyperium#3507, which restored this interface
to the 1.0 release.

for more information, see:

* hyperium#3201
* hyperium#3507
* hyperium#3461
* https://hyper.rs/guides/1/upgrading/

Signed-off-by: katelyn martin <[email protected]>
cratelyn added a commit to cratelyn/hyper that referenced this pull request Nov 27, 2024
…builder

NB: this commit is based on the `0.14.x` release series.

the `server::conn::http2` submodule provides types that are
conditionally compiled when the `backports` feature is active, to
facilitate upgrading to the `1.x` release.

i've been working on upgrading the
[`linkerd2-proxy`](https://github.com/linkerd/linkerd2-proxy/) project
to use hyper 1.0, but encountered some gaps in `Builder<E>`'s interface
when setting the `backports` and `deprecated` features.

this adds a `max_pending_accept_reset_streams(..)` method
(_added in #3201_) to this builder, so that 0.14.x users relying on
this functionality can prepare to upgrade to hyper 1.x safely.

this is effectively a backport of hyperium#3507, which restored this interface
to the 1.0 release.

for more information, see:

* hyperium#3201
* hyperium#3507
* hyperium#3461
* https://hyper.rs/guides/1/upgrading/

Signed-off-by: katelyn martin <[email protected]>
seanmonstar pushed a commit that referenced this pull request Nov 29, 2024
#3796)

the `server::conn::http2` submodule provides types that are
conditionally compiled when the `backports` feature is active, to
facilitate upgrading to the `1.x` release.

i've been working on upgrading the
[`linkerd2-proxy`](https://github.com/linkerd/linkerd2-proxy/) project
to use hyper 1.0, but encountered some gaps in `Builder<E>`'s interface
when setting the `backports` and `deprecated` features.

this adds a `max_pending_accept_reset_streams(..)` method
(_added in #3201_) to this builder, so that 0.14.x users relying on
this functionality can prepare to upgrade to hyper 1.x safely.

this is effectively a backport of #3507, which restored this interface
to the 1.0 release.

for more information, see:

* #3201
* #3507
* #3461
* https://hyper.rs/guides/1/upgrading/

Signed-off-by: katelyn martin <[email protected]>
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