envoyproxy/envoy

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

Open

#10.291 aperta il 6 mar 2020

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)C++ (5373 fork)batch import
area/connectionarea/listenerenhancementhelp wanted

Metriche repository

Star
 (27.997 star)
Metriche merge PR
 (Merge medio 8g) (378 PR mergiate in 30 g)

Descrizione

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.

Guida contributor