Skip to content

header handling: delete splitting comma-separated header values and add specific logic to the RetryPolicy classes#1752

Merged
junr03 merged 3 commits intomainfrom
header-splitting
Sep 1, 2021
Merged

header handling: delete splitting comma-separated header values and add specific logic to the RetryPolicy classes#1752
junr03 merged 3 commits intomainfrom
header-splitting

Conversation

@junr03
Copy link
Copy Markdown
Member

@junr03 junr03 commented Aug 25, 2021

Description: reverts earlier logic that splits comma-separated headers introduced in #1212 #1213. Upon further inspection of the Envoy code we now understand that the Envoy behavior to coalesce headers with multiple appearances in the header map is limited to Envoy's inline headers. Thus this PR reverts the Envoy Mobile logic to split up headers which should have no semantic impact in headers per RFC. However, we do add logic to the Envoy Mobile RetryPolicy classes which need individual values in order to correctly map to the swift/kotlin enum cases specific to those classes.
Risk Level: med - changes header handling logic
Testing: added unit tests

Signed-off-by: Jose Nino [email protected]

Jose Nino added 2 commits August 25, 2021 15:47
…dd specific logic to the RetryPolicy classes

Signed-off-by: Jose Nino <[email protected]>
fix
Signed-off-by: Jose Nino <[email protected]>
Copy link
Copy Markdown
Contributor

@goaway goaway left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for getting to the bottom of this @junr03!

@junr03 junr03 merged commit 76c1ae0 into main Sep 1, 2021
@junr03 junr03 deleted the header-splitting branch September 1, 2021 17:09
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.

2 participants