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

http2: Proactively disconnect connections flooded in drain timeout #13420

Merged
merged 4 commits into from
Oct 8, 2020

Conversation

yanavlasov
Copy link
Contributor

Commit Message:
Proactively disconnect connections flooded in drain timeout

Additional Description:
This PR adds error handling and associated tests for flood triggered in the ConnectionImpl::goAway() method. Previously connection stayed in the flooded state until downstream data was received.

Part of fixing #12280

Risk Level: Medium, H/2 codec
Testing: Unit and integration tests
Docs Changes: N/A
Release Notes: N/A
Signed-off-by: Yan Avlasov yavlasov@google.com

Signed-off-by: Yan Avlasov <yavlasov@google.com>
Signed-off-by: Yan Avlasov <yavlasov@google.com>
@mattklein123 mattklein123 self-assigned this Oct 7, 2020
mattklein123
mattklein123 previously approved these changes Oct 8, 2020
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

LGTM!

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

Needs a main merge.

/wait

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

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Thanks!

@mattklein123 mattklein123 merged commit 9e4845a into envoyproxy:master Oct 8, 2020
@yanavlasov yanavlasov deleted the flood-disconnect-goaway branch February 1, 2021 19:28
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