Skip to content
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

fix: allow stream protocols to return headers with multiple values #18094

Merged
merged 1 commit into from May 1, 2019

Conversation

miniak
Copy link
Contributor

@miniak miniak commented May 1, 2019

Description of Change

Backport of #14887

Checklist

Release Notes

Notes: Fixed returning headers with multiple values for stream protocols.

…14887)

* fix: allow stream protocols to return headers with multiple values

This allows stream protocols to return headers with multiple values as
an array of values.

Fixes #14778

* Prefer ConvertFromV8

* Cleanup header conversion

1. Deduplicate the code by using a lambda
2. Remove duplicate calls to headers->Get(key)

* Fix broken test

Headers with multiple values are now being converted correctly, this
test asserted the wrong behavior.
@MarshallOfSound MarshallOfSound merged commit ac714a1 into 4-1-x May 1, 2019
@release-clerk
Copy link

release-clerk bot commented May 1, 2019

Release Notes Persisted

Fixed returning headers with multiple values for stream protocols.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4-2-x backport This is a backport PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants