Skip to content

http: support appending to predefined inline headers.#4211

Merged
htuch merged 4 commits intoenvoyproxy:masterfrom
htuch:fix-headers-to-add
Aug 23, 2018
Merged

http: support appending to predefined inline headers.#4211
htuch merged 4 commits intoenvoyproxy:masterfrom
htuch:fix-headers-to-add

Conversation

@htuch
Copy link
Copy Markdown
Member

@htuch htuch commented Aug 21, 2018

Previously we just ASSERTed when performing an addReferenceKey() with a
predefined header. This PR adds support for comma concatenation and
adjusts docs to make clear the contract for value lifetime across the
API surface.

Fixes #3919. Also resolves ClusterFuzz issue
https://oss-fuzz.com/v2/testcase-detail/5107723602493440?noredirect=1.

Risk level: High. This affects header processing and wire representation
of predefined headers when appending.
Testing: Unit/integration tests, corpus entry added.

Signed-off-by: Harvey Tuch [email protected]

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

debug assert when appending request headers

4 participants