Revert "http: Introduce preserve_upstream_date option (#11077)" (#11116)

This reverts commit 10c755e9d9b8acd7cf1702a4f49dbcbdf0696198.

Signed-off-by: Matt Klein <mklein@lyft.com>

Mirrored from https://github.com/envoyproxy/envoy @ 8e52a24362221af1512a037ed7ea667a8330fbf2
master-ci-test
data-plane-api(CircleCI) 5 years ago
parent 172f540c8b
commit b092bc6e63
  1. 5
      envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto
  2. 5
      envoy/extensions/filters/network/http_connection_manager/v4alpha/http_connection_manager.proto

@ -507,11 +507,6 @@ message HttpConnectionManager {
// 3. Tracing decision (sampled, forced, etc) is set in 14th byte of the UUID. // 3. Tracing decision (sampled, forced, etc) is set in 14th byte of the UUID.
RequestIDExtension request_id_extension = 36; RequestIDExtension request_id_extension = 36;
// If `preserve_upstream_date` is true, the value of the `date` header sent by the upstream
// host will not be overwritten by the HTTP Connection Manager. The default behaviour is
// to overwrite the `date` header unconditionally.
bool preserve_upstream_date = 38;
// Determines if the port part should be removed from host/authority header before any processing // Determines if the port part should be removed from host/authority header before any processing
// of request by HTTP filters or routing. The port would be removed only if it is equal to the :ref:`listener's<envoy_api_field_config.listener.v3.Listener.address>` // of request by HTTP filters or routing. The port would be removed only if it is equal to the :ref:`listener's<envoy_api_field_config.listener.v3.Listener.address>`
// local port and request method is not CONNECT. This affects the upstream host header as well. // local port and request method is not CONNECT. This affects the upstream host header as well.

@ -507,11 +507,6 @@ message HttpConnectionManager {
// 3. Tracing decision (sampled, forced, etc) is set in 14th byte of the UUID. // 3. Tracing decision (sampled, forced, etc) is set in 14th byte of the UUID.
RequestIDExtension request_id_extension = 36; RequestIDExtension request_id_extension = 36;
// If `preserve_upstream_date` is true, the value of the `date` header sent by the upstream
// host will not be overwritten by the HTTP Connection Manager. The default behaviour is
// to overwrite the `date` header unconditionally.
bool preserve_upstream_date = 38;
// Determines if the port part should be removed from host/authority header before any processing // Determines if the port part should be removed from host/authority header before any processing
// of request by HTTP filters or routing. The port would be removed only if it is equal to the :ref:`listener's<envoy_api_field_config.listener.v4alpha.Listener.address>` // of request by HTTP filters or routing. The port would be removed only if it is equal to the :ref:`listener's<envoy_api_field_config.listener.v4alpha.Listener.address>`
// local port and request method is not CONNECT. This affects the upstream host header as well. // local port and request method is not CONNECT. This affects the upstream host header as well.

Loading…
Cancel
Save