Skip to content

Enable HTTP/2 between proxies even when the service protocol is HTTP/1.1 #14788

@lobkovilya

Description

@lobkovilya

Description

Today, we generate outbound cluster with HTTP/1.1 if the appProtocol: http

case core_meta.ProtocolHTTP:
edsClusterBuilder.Configure(envoy_clusters.Http())

at the same time we generate inbound HCM with AUTO

CodecType: envoy_hcm.HttpConnectionManager_AUTO,

so the resulting protocol is HTTP/1.1.

There’s an advantage to using HTTP/2 between proxies since it allows multiple HTTP streams to share a single TCP connection, improving connection reuse and efficiency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomerskind/improvementImprovement on an existing featuretriage/acceptedThe issue was reviewed and is complete enough to start working on it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions