Repository navigation
Allow connect with 2xx status codes - #27974
Merged
Merged
Conversation
Signed-off-by: Vikas Choudhary <[email protected]>
Signed-off-by: Vikas Choudhary <[email protected]>
yanavlasov
approved these changes
Jun 15, 2023
asheryerm
pushed a commit
to asheryerm/envoy
that referenced
this pull request
Jul 5, 2023
* Allow connect with 2xx status codes Signed-off-by: Vikas Choudhary <[email protected]> Signed-off-by: asheryer <[email protected]>
reskin89
pushed a commit
to reskin89/envoy
that referenced
this pull request
Jul 11, 2023
* Allow connect with 2xx status codes Signed-off-by: Vikas Choudhary <[email protected]> Signed-off-by: Ryan Eskin <[email protected]>
This was referenced Aug 14, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Commit Message: This PR is carved out of #27183 (comment)
Additional Description: Since any 2xx response status code indicates connection is established as per RFC7231,
connectis being unpaused on any 2xx status code. This change is required because TcpProxy::Http1Upstream already allows any 2xx. In the linked PR we are trying to enable upstream filters for tcp proxy tunneled traffic. So to keep the behavior same, we are allowing 2xx status in unpausing connect.Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]