Skip to content

add meta transmit for brpc mesh#118

Open
paisna wants to merge 2 commits intoaeraki-mesh:masterfrom
paisna:brpc_meta
Open

add meta transmit for brpc mesh#118
paisna wants to merge 2 commits intoaeraki-mesh:masterfrom
paisna:brpc_meta

Conversation

@paisna
Copy link
Copy Markdown

@paisna paisna commented Jul 3, 2023

add meta transmit for brpc mesh

Signed-off-by: zhangyunping <zhangyunping@baidu.com>
@zhaohuabing zhaohuabing requested review from smwyzi and tanjunchen July 10, 2023 03:21
@zhaohuabing
Copy link
Copy Markdown
Member

@tanjunchen @smwyzi Since it's related to brpc, can you please review this PR?

@smwyzi
Copy link
Copy Markdown

smwyzi commented Jul 10, 2023

@tanjunchen @smwyzi Since it's related to brpc, can you please review this PR?

sure,i'd like to review this later

header_magic = buffer.peekBEInt<uint32_t>(pos);
if (header_magic != MAGIC)
{
ENVOY_LOG(warn, "Brpc Header magic_error need={} real={}.", MAGIC, header_magic);
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个地方 header MAGIC 不对,是不是应该报错并返回错误

Copy link
Copy Markdown

@milad237 milad237 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

4 participants