Title: upstream ext-proc: option to wait for connection establishment
Description:
Upstream HTTP filters are not guaranteed to execute after upstream connection establishment: #10455 (comment).
Upstream HTTP filters may require information about the upstream peer (such as Peer Cert Subject/IP) and application-layer data from the request, to determine if a request may be proxied or blocked, especially in DFP use cases.
Ext-Proc filters can expose an option to wait for upstream connection establishment before sending headers and attributes to the ext-proc server, to ensure that this info is available.
Title: upstream ext-proc: option to wait for connection establishment
Description:
Upstream HTTP filters are not guaranteed to execute after upstream connection establishment: #10455 (comment).
Upstream HTTP filters may require information about the upstream peer (such as Peer Cert Subject/IP) and application-layer data from the request, to determine if a request may be proxied or blocked, especially in DFP use cases.
Ext-Proc filters can expose an option to wait for upstream connection establishment before sending headers and attributes to the ext-proc server, to ensure that this info is available.