-
Notifications
You must be signed in to change notification settings - Fork 20k
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
rpc: support inject http headers using outgoing context #26023
Conversation
Signed-off-by: storyicon <yuanchao@bilibili.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the idea is fine. Curious what @fjl thinks...?
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Martin Holst Swende <martin@swende.se>
Signed-off-by: storyicon <yuanchao@bilibili.com>
Signed-off-by: storyicon <yuanchao@bilibili.com>
@holiman thanks, I adopted some of your suggestions and simplified the design. Now it has become clearer about the requirement of |
Signed-off-by: storyicon <yuanchao@bilibili.com>
I pushed a change now, mostly small things, but one functional change -- it now supports multiple contexts setting headers sequentially. Please take a look. I think this is ok now, leaving it to @fjl to decide about |
Signed-off-by: storyicon <yuanchao@bilibili.com>
I have also made some changes to make the logic clearer. At the same time, |
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Martin Holst Swende <martin@swende.se>
Nah, don't worry, he'll get to it eventually. We are slow with PRs often, let it take it's time
|
Thank you for actively addressing this issue. |
This adds a way to specify HTTP headers per request. Co-authored-by: Martin Holst Swende <martin@swende.se> Co-authored-by: Felix Lange <fjl@twurst.com>
this PR is used to solve: #26004
Signed-off-by: storyicon yuanchao@bilibili.com