You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
router: fixes a regression where headers were not available in request_headers_to_add (#41801)
## Description
This PR fixes a regression where router-set headers like
`x-envoy-expected-rq-timeout-ms`, `x-envoy-attempt-count`, etc. were not
accessible in `request_headers_to_add` configuration.
It happened as a side effect of
#39617 which moved the call to
`route_entry_->finalizeRequestHeaders()` earlier in the request
processing workflow, which changed when `request_headers_to_add` is
processed.
Fix#41794
---
**Commit Message:** router: fixes a regression where headers were not
available in request_headers_to_add
**Additional Description:** Fixes a regression where router-set headers
like `x-envoy-expected-rq-timeout-ms`, `x-envoy-attempt-count`, etc.
were not accessible in `request_headers_to_add` configuration.
**Risk Level:** Low
**Testing:** Added Unit + Integration Tests
**Docs Changes:** Added
**Release Notes:** Added
---------
Signed-off-by: Rohit Agrawal <[email protected]>
0 commit comments