Skip to content

Commit 1c10359

Browse files
committed
add release note
Signed-off-by: Huabing (Robin) Zhao <[email protected]>
1 parent c04633b commit 1c10359

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

internal/xds/translator/httpfilters.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,14 @@ type OrderedHTTPFilters []*OrderedHTTPFilter
7777
// newOrderedHTTPFilter gives each HTTP filter a rational order.
7878
// This is needed because the order of the filters is important.
7979
// For example:
80-
// - the custom_response filter should be placed first to ensure it sees local replies.
81-
// - the health_check filter should be placed next because external load balancer determines whether envoy should
82-
// receive traffic based on the health check result which only depending on the current draining state of the envoy,
83-
// result should not be affected by other filters, or else user traffic disruption may happen.
84-
// - the fault filter should be placed after it because it doesn't rely on the functionality of other filters,
85-
// and rejecting early can save computation costs for the remaining filters.
86-
// - the cors filter should be put after that to avoid unnecessary processing of other filters for unauthorized cross-region access.
87-
// - the router filter must be the last one since it's a terminal filter.
80+
// - the custom_response filter should be placed first to ensure it sees local replies.
81+
// - the health_check filter should be placed next because external load balancer determines whether envoy should
82+
// receive traffic based on the health check result which only depending on the current draining state of the envoy,
83+
// result should not be affected by other filters, or else user traffic disruption may happen.
84+
// - the fault filter should be placed after it because it doesn't rely on the functionality of other filters,
85+
// and rejecting early can save computation costs for the remaining filters.
86+
// - the cors filter should be put after that to avoid unnecessary processing of other filters for unauthorized cross-region access.
87+
// - the router filter must be the last one since it's a terminal filter.
8888
//
8989
// Important: please modify this method and set the order for the new filter
9090
// when adding a new filter in the HCM filter chain.

release-notes/current.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ breaking changes: |
88
Set HTTPRoute Accepted status to False when RequestMirror filter is used together with DirectResponse or RequestRedirect filters.
99
Removed Accept-Encoding header from requests to backends when compression is enabled to avoid double compression issues.
1010
The default value `stats_tags` has been changed to improve the prometheus metrics output. Following metrics are affected: `envoy_cluster_*_rq_time_count`, `envoy_cluster_*_total_match_count`, `envoy_cluster_circuit_breakers_*_cx_open`.
11+
Default HTTP filter ordering now places envoy.filters.http.custom_response at the first, which can change the behavior of local replies and header processing.
1112
1213
# Updates addressing vulnerabilities, security flaws, or compliance requirements.
1314
security updates: |

0 commit comments

Comments
 (0)