-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
router: add x-envoy-attempt-count on downstream responses #10325
Changes from all commits
1b5b280
dba0039
e8daae8
eb6b28e
eaaabea
87dbfd1
ef0f925
bd86b9f
78186f3
edb76dc
fd45d77
9386ac0
25f183f
f406804
bfb08e8
7b7222e
cd7f929
5ae3a12
fc4cc78
43de1e2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -274,7 +274,6 @@ class HeaderEntry { | |
HEADER_FUNC(AccessControlRequestMethod) \ | ||
HEADER_FUNC(Authorization) \ | ||
HEADER_FUNC(ClientTraceId) \ | ||
HEADER_FUNC(EnvoyAttemptCount) \ | ||
HEADER_FUNC(EnvoyDownstreamServiceCluster) \ | ||
HEADER_FUNC(EnvoyDownstreamServiceNode) \ | ||
HEADER_FUNC(EnvoyExpectedRequestTimeoutMs) \ | ||
|
@@ -344,6 +343,7 @@ class HeaderEntry { | |
HEADER_FUNC(Connection) \ | ||
HEADER_FUNC(ContentLength) \ | ||
HEADER_FUNC(ContentType) \ | ||
HEADER_FUNC(EnvoyAttemptCount) \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It makes me happy to see this working properly. :) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, this is awesome! Hard/tedious work is now paying off :) thanks for doing this. I took the liberty to narrow some more types in this PR to ensure static checking, really rad. |
||
HEADER_FUNC(EnvoyDecoratorOperation) \ | ||
HEADER_FUNC(KeepAlive) \ | ||
HEADER_FUNC(NoChunks) \ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can do this now with
[(udpa.annotations.field_migrate).rename
right? Or is the issue that this will right now change it in v3 and we have to circle back and do it after we stop v2 updates?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's a wrinkle with the annotation right now #10325 (comment). I am keeping a note so that when this is fix we can change to use the annotation.