Skip to content

fix: remove metainfo headers when received#41

Merged
Millione merged 2 commits intocloudwego:mainfrom
Millione:lj/dev
Sep 26, 2022
Merged

fix: remove metainfo headers when received#41
Millione merged 2 commits intocloudwego:mainfrom
Millione:lj/dev

Conversation

@Millione
Copy link
Copy Markdown
Member

Motivation

When a service call chain exists like A->B->C and B is just forward A's request and backward C's response, the Transient and Backward metainfo in Req and Resp will behave unexpected and keep transferring all the way.

Solution

When Req and Resp reveived, remove corresponded metainfo in metadata headers.

@Millione Millione enabled auto-merge (squash) September 26, 2022 06:46
@Millione Millione merged commit 75999fa into cloudwego:main Sep 26, 2022
PureWhiteWu pushed a commit to PureWhiteWu/volo that referenced this pull request Sep 26, 2022
PureWhiteWu pushed a commit to PureWhiteWu/volo that referenced this pull request Sep 26, 2022
PureWhiteWu pushed a commit to PureWhiteWu/volo that referenced this pull request Sep 26, 2022
ethe pushed a commit to ethe/volo that referenced this pull request Oct 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants