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

*Client.NewStream() does not apply metadata to Request{} #159

Open
amurchick opened this issue Feb 28, 2024 · 0 comments
Open

*Client.NewStream() does not apply metadata to Request{} #159

amurchick opened this issue Feb 28, 2024 · 0 comments

Comments

@amurchick
Copy link

*Client.Call() apply metadata to Request{}:

ttrpc/client.go

Lines 162 to 164 in faba589

if metadata, ok := GetMetadata(ctx); ok {
metadata.setRequest(creq)
}

But *Client.NewStream() does not have this block - so metadata not applyed.

Please add this block to *Client.NewStream().
Thank you!

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

No branches or pull requests

1 participant