Skip to content

reverse_tunnel: allow requests without headers to reach clusters - #46296

Merged
agrawroh merged 1 commit into
envoyproxy:mainfrom
glennc24:revcon-req-no-headers
Aug 5, 2026
Merged

reverse_tunnel: allow requests without headers to reach clusters#46296
agrawroh merged 1 commit into
envoyproxy:mainfrom
glennc24:revcon-req-no-headers

Conversation

@glennc24

@glennc24 glennc24 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Commit Message: Previously, for a request to be sent across the reverse tunnel, the HTTP headers were read to determine the destination. However, if a request is forwarded from the TCP proxy filter, the downstream HTTP headers are not available.

Thus, we allow requests to proceed to host selection even with no headers available. If the formatter context is a constant string, it will still able to evaluate to a valid host. A formatter context that parses headers and receives a downstream connection with no headers will still not evaluate to a host.

Additional Description:
Risk Level: Low
Testing: Unit Test Added
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

Previously, for a request to be sent across the reverse tunnel, the
HTTP headers were read to determine the destination. However, if a
request is forwarded from the TCP proxy filter, the downstream
HTTP headers are not available.

Thus, we allow requests to proceed to host selection even with no
headers available. If the formatter context is a constant string, it
will still able to evaluate to a valid host. A formatter context
that parses headers and receives a downstream connection with no
headers will still not evaluate to a host.

Signed-off-by: Glenn Chen <glenn.chen@nutanix.com>
@repokitteh-read-only

Copy link
Copy Markdown

Hi @glennc24, welcome and thank you for your contribution.

We will try to review your Pull Request as quickly as possible.

In the meantime, please take a look at the contribution guidelines if you have not done so already.

🐱

Caused by: #46296 was opened by glennc24.

see: more, trace.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@basundhara-c

Copy link
Copy Markdown
Contributor

/retest

@basundhara-c

Copy link
Copy Markdown
Contributor

@agrawroh , @yanavlasov this looks good to me. I think CI needs maintainer authorization here, could you help authorize?

@glennc24
glennc24 temporarily deployed to external-contributors August 5, 2026 01:28 — with GitHub Actions Inactive
@agrawroh
agrawroh enabled auto-merge (squash) August 5, 2026 01:28
@agrawroh
agrawroh merged commit d80587c into envoyproxy:main Aug 5, 2026
27 of 28 checks passed
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.

3 participants