apache/brpc

command_name大于15个字符的时候会被截断

Open

#1,251 opened on Sep 22, 2020

View on GitHub
 (5 comments) (0 reactions) (1 assignee)C++ (3,936 forks)batch import
buggood first issue

Repository metrics

Stars
 (16,226 stars)
PR merge metrics
 (Avg merge 6d 17h) (29 merged PRs in 30d)

Description

Describe the bug (描述bug) command_name大于15个字符的时候会截取前15个字符,比如:command_name="myhelloworldprocess",bvar中的read_command_name函数会返回"myhelloworldpro",而不是"myhelloworldprocess"。

To Reproduce (复现方法) 同上

Expected behavior (期望行为) 同上

Versions (各种版本) 所有版本

Additional context/screenshots (更多上下文/截图)

Contributor guide