Skip to content

Allow connect with 2xx status codes - #27974

Merged
yanavlasov merged 2 commits into
envoyproxy:mainfrom
vikaschoudhary16:connect-2xx
Jun 15, 2023
Merged

yanavlasov merged 2 commits into
envoyproxy:mainfrom
vikaschoudhary16:connect-2xx

Conversation

@vikaschoudhary16

@vikaschoudhary16 vikaschoudhary16 commented Jun 15, 2023 •

Copy link
Copy Markdown
Contributor

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, connect is 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:]

@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: #27974 was opened by vikaschoudhary16.

see: more, trace.

Signed-off-by: Vikas Choudhary <[email protected]>
@yanavlasov
yanavlasov merged commit d0d2249 into envoyproxy:main Jun 15, 2023
@yanavlasov yanavlasov self-assigned this 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]>
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