envoyproxy/envoy

api_listener: allow the api listener to configure settings for the synthetic connection

Open

#10,291 opened on Mar 6, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C++ (5,373 forks)batch import
area/connectionarea/listenerenhancementhelp wanted

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (Avg merge 8d) (378 merged PRs in 30d)

Description

Description: Right now the SyntheticConnection used inside the Api Listener is not configurable. For instance there is no way to change the return value of the ssl() call. This can have implications in the requests that are created by the Api Listener. For instance, for the example above the value returned by that function dictates the value added for the x-forwarded-proto header here. Therefore, it might be valuable to allow the Api Listener to specify things about its Synthetic Connection.

Contributor guide