envoyproxy/envoy

Support for Request MetadataKind in InternalUpstreamTransport

Open

#30.674 geöffnet am 2. Nov. 2023

Auf GitHub ansehen
 (5 Kommentare) (1 Reaktion) (0 zugewiesene Personen)C++ (5.373 Forks)batch import
area/listenerenhancementhelp wanted

Repository-Metriken

Stars
 (27.997 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8T) (378 gemergte PRs in 30 T)

Beschreibung

Title: Support for Request MetadataKind in InternalUpstreamTransport

Description:

I have a usecase where I am extracting an http header in a Lua filter, setting it in dynamicMetadata and passing it to an internal listener which has a TCPProxy filter configured with tunneling_config. The value that is set in dynamicMetadata needs to be referenced in the tunneling_config.

It seems there is support for passthrough_metadata for passing information from one listener to the other listener in this case. However, even though the docs seem to suggest that request metadataKind is supported ( which is needed for passing DynamicMetadata ), it seems the internal implementation is missing here and here

Is my understanding correct ? Happy to work on a PR if I can get any pointers!

[optional Relevant Links:]

Any extra documentation required to understand the issue.

Contributor Guide