Skip to content

http2: propagates reset events to CodecEventCallbacks when sending RST_STREAM - #37784

Merged
RyanTheOptimist merged 5 commits into
envoyproxy:mainfrom
birenroy:stream-lifetime
Jan 9, 2025
Merged

RyanTheOptimist merged 5 commits into
envoyproxy:mainfrom
birenroy:stream-lifetime

Conversation

@birenroy

@birenroy birenroy commented Dec 20, 2024 •

Copy link
Copy Markdown
Contributor

We have found this patch useful in our testing.

The delta between the first and second commit demonstrates test coverage for the new code.

The new behavior can be disabled with the runtime guard envoy.reloadable_features.http2_propagate_reset_events.

Commit Message: propagates reset events to CodecEventCallbacks when sending RST_STREAM
Additional Description:
Risk Level: low
Testing: ran unit and integration tests locally
Docs Changes:
Release Notes:
Platform Specific Features:
Runtime guard: envoy.reloadable_features.http2_propagate_reset_events

@birenroy

Copy link
Copy Markdown
Contributor Author

@phlax

phlax commented Dec 23, 2024

Copy link
Copy Markdown
Member

note: envoy maintainers will be mostly on vacation until 6th jan

@birenroy

birenroy commented Jan 6, 2025

Copy link
Copy Markdown
Contributor Author

Happy new year!

@RyanTheOptimist

Copy link
Copy Markdown
Contributor

/assign @alyssawilk
since I'm still OOO

@alyssawilk alyssawilk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Apologies for missing this yesterday. I'd be inclined to runtime guard but otherwise LGTM

@repokitteh-read-only

Copy link
Copy Markdown

CC @envoyproxy/runtime-guard-changes: FYI only for changes made to (source/common/runtime/runtime_features.cc).

🐱

Caused by: #37784 was synchronize by birenroy.

see: more, trace.

@birenroy

birenroy commented Jan 8, 2025

Copy link
Copy Markdown
Contributor Author

Apologies for missing this yesterday. I'd be inclined to runtime guard but otherwise LGTM

I added runtime guard envoy.reloadable_features.http2_propagate_reset_events. Please take a look.

Signed-off-by: Biren Roy <[email protected]>

@alyssawilk alyssawilk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. As ryan's back I'll give him until EoD if he wants to do a pass, else merge tomorrow.

@RyanTheOptimist RyanTheOptimist left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

@RyanTheOptimist
RyanTheOptimist merged commit e294469 into envoyproxy:main Jan 9, 2025
Yueren-Wang pushed a commit to Yueren-Wang/envoy that referenced this pull request Jan 9, 2025
…T_STREAM (envoyproxy#37784)

We have found this patch useful in our testing.

The delta between the first and second commit demonstrates test coverage
for the new code.

The new behavior can be disabled with the runtime guard
`envoy.reloadable_features.http2_propagate_reset_events`.

Commit Message: propagates reset events to CodecEventCallbacks when
sending RST_STREAM
Additional Description:
Risk Level: low
Testing: ran unit and integration tests locally
Docs Changes:
Release Notes:
Platform Specific Features:
Runtime guard: `envoy.reloadable_features.http2_propagate_reset_events`

---------

Signed-off-by: Biren Roy <[email protected]>
Signed-off-by: Yueren Wang <[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.

4 participants