Skip to content

max_body_size逻辑不一致 #3177

@imdouyu

Description

@imdouyu
DEFINE_uint64(max_body_size, 64 * 1024 * 1024,
              "Maximum size of a single message body in all protocols");

A message from x.x.x.x:4096(protocol=baidu_std) is bigger than 67108864 bytes, the connection will be closed. Set max_body_size to allow bigger messages

看代码定义说是对所有协议生效,但在测试中发现用h2:grpc没有消息过大的报错,用baidu_std就会有上面的错误,是对h2:grpc不检测吗,这个设计是预期的还是漏了逻辑呢
Image

搜了代码也没发现

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions