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 sending and receiving duplicate header names #918

Merged
merged 2 commits into from
May 21, 2020

Conversation

JamesNK
Copy link
Member

@JamesNK JamesNK commented May 21, 2020

Fixes #915

PR fixes concatenated values. I also noticed the server wasn't sending duplicate response headers.

I couldn't replicate having no headers. If might be fixed in 2.29.0-pre1.

@mgravell

@JamesNK JamesNK requested a review from JunTaoLuo May 21, 2020 11:32
@mgravell
Copy link
Contributor

Awesome. I merged my changes to update to 2.29.0-pre1 earlier today - will re-run my tests tomorrow.

Note: right now, I have both clients Vs the Google server, which has found a couple of deltas. Would it be useful for you if I try to update my test rig to do the full matrix of clients vs servers? Honestly, it was mostly done this way because it is easier to run the Google server in a fixture, but I could look at running Kestrel in a fixture.

@JamesNK
Copy link
Member Author

JamesNK commented May 21, 2020

Sure, if it isn't too much time for you, and it is useful for you as well then go ahead.

I'm not worried about being exactly identical with StatusCodes and detail messages, but differences around content and metadata are important to find.

@JamesNK JamesNK merged commit c2cf536 into grpc:master May 21, 2020
@JamesNK JamesNK deleted the jamesnk/duplicate-headers branch May 21, 2020 20:03
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.

Client: server-streaming does not collect duplicated (fault+ctx) trailers during an RpcException
3 participants