Skip to content

Prevent recursion during premature reset check#30270

Merged
yanavlasov merged 1 commit intoenvoyproxy:mainfrom
yanavlasov:prevent-recursion
Oct 18, 2023
Merged

Prevent recursion during premature reset check#30270
yanavlasov merged 1 commit intoenvoyproxy:mainfrom
yanavlasov:prevent-recursion

Conversation

@yanavlasov
Copy link
Copy Markdown
Contributor

Commit Message:
Prevent doConnectionClose to be called recursively when connection with active requests is disconnected due to premature reset check.

Additional Description:
It was able to make the test crash with 17K outstanding requests. I think this is low severity bug, since it is unlikely that edge Envoys would set the limit on concurrent streams this high.

Risk Level: Low
Testing: Unit tests
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

Signed-off-by: Yan Avlasov <yavlasov@google.com>
Copy link
Copy Markdown
Contributor

@RyanTheOptimist RyanTheOptimist left a comment

Choose a reason for hiding this comment

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

Wow, subtle! Thanks for getting to the bottom of this!

@yanavlasov yanavlasov enabled auto-merge (squash) October 18, 2023 14:04
@yanavlasov yanavlasov merged commit e87063f into envoyproxy:main Oct 18, 2023
@yanavlasov yanavlasov deleted the prevent-recursion branch October 18, 2023 15:01
yanavlasov added a commit to yanavlasov/envoy that referenced this pull request Oct 18, 2023
Prevent doConnectionClose to be called recursively when connection with active requests is disconnected due to premature reset check.

Signed-off-by: Yan Avlasov <yavlasov@google.com>
yanavlasov added a commit to yanavlasov/envoy that referenced this pull request Oct 18, 2023
Prevent doConnectionClose to be called recursively when connection with active requests is disconnected due to premature reset check.

Signed-off-by: Yan Avlasov <yavlasov@google.com>
yanavlasov added a commit to yanavlasov/envoy that referenced this pull request Oct 18, 2023
Prevent doConnectionClose to be called recursively when connection with active requests is disconnected due to premature reset check.

Signed-off-by: Yan Avlasov <yavlasov@google.com>
yanavlasov added a commit to yanavlasov/envoy that referenced this pull request Oct 18, 2023
Prevent doConnectionClose to be called recursively when connection with active requests is disconnected due to premature reset check.

Signed-off-by: Yan Avlasov <yavlasov@google.com>
phlax pushed a commit that referenced this pull request Oct 23, 2023
Prevent doConnectionClose to be called recursively when connection with active requests is disconnected due to premature reset check.

Signed-off-by: Yan Avlasov <yavlasov@google.com>
phlax pushed a commit that referenced this pull request Oct 23, 2023
Prevent doConnectionClose to be called recursively when connection with active requests is disconnected due to premature reset check.

Signed-off-by: Yan Avlasov <yavlasov@google.com>
phlax pushed a commit that referenced this pull request Oct 23, 2023
Prevent doConnectionClose to be called recursively when connection with active requests is disconnected due to premature reset check.

Signed-off-by: Yan Avlasov <yavlasov@google.com>
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