Skip to content

Expose stream info for outgoing HTTP calls from dynamic modules #45145

@anuraaga

Description

@anuraaga

Title: Expose stream info for outgoing HTTP calls from dynamic modules

Description:

I would like to be able to know the negotiated HTTP protocol (HTTP/1, HTTP/2 etc) for an outgoing HTTP call which can be with a cluster using ALPN. This is on StreamInfo for a call made with AsyncClient but is currently not exposed to dynamic modules. It may be tricky since StreamInfo is huge but it would be nice if at least some of the info there could be accessed, something like the Rust envoy_filter.get_stream_info_protocol() or similar.

[optional Relevant Links:]

Any extra documentation required to understand the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests. Not bugs or questions.triageIssue requires triage

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions