Skip to content

Commit

Permalink
docs: note which header expressions cannot be used for request headers
Browse files Browse the repository at this point in the history
As discussed in envoyproxy#8127, some custom header expressions evaluate as
empty when used in request headers.

Risk Level: low, docs only
Testing: n/a
Docs Changes: updated
Release Notes: n/a

Signed-off-by: Stephan Zuercher <[email protected]>
  • Loading branch information
zuercher committed Sep 3, 2019
1 parent 39a4423 commit 72f2c9a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/root/configuration/http/http_conn_man/headers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -602,9 +602,13 @@ Supported variable names are:
namespace and key(s) are specified as a JSON array of strings. Finally, percent symbols in the
parameters **do not** need to be escaped by doubling them.

Upstream metadata cannot be added to request headers as the upstream host has not been selected
when custom request headers are generated.

%UPSTREAM_REMOTE_ADDRESS%
Remote address of the upstream host. If the address is an IP address it includes both address
and port.
and port. The upstream remote address cannot be added to request headers as the upstream host
has not been selected when custom request headers are generated.

%PER_REQUEST_STATE(reverse.dns.data.name)%
Populates the header with values set on the stream info filterState() object. To be
Expand Down

0 comments on commit 72f2c9a

Please sign in to comment.