Skip to content

Commit

Permalink
api: add ConnectionPoolSettings into ProxyProtocolUpstreamTransport (#…
Browse files Browse the repository at this point in the history
…37177)

Commit Message:
Add `ConnectionPoolSettings` in proxy_protocol upstream transport
socket.
It customizes the behavior of connection pool.

Additional Description:
Risk Level: LOW
Testing: CI
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
Fixes #37126
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional [API
Considerations](https://github.com/envoyproxy/envoy/blob/main/api/review_checklist.md):]

---------

Signed-off-by: Yuchen Dai <[email protected]>
  • Loading branch information
lambdai authored Nov 21, 2024
1 parent 150e16d commit 5f089dd
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,13 @@ message ProxyProtocolUpstreamTransport {

// The underlying transport socket being wrapped.
config.core.v3.TransportSocket transport_socket = 2 [(validate.rules).message = {required: true}];

// If this is set to true, the null addresses are allowed in the PROXY protocol header.
// The proxy protocol header encodes the null addresses to AF_UNSPEC.
// [#not-implemented-hide:]
bool allow_unspecified_address = 3;

// If true, all the TLVs are encoded in the connection pool key.
// [#not-implemented-hide:]
bool tlv_as_pool_key = 4;
}

0 comments on commit 5f089dd

Please sign in to comment.