Closed GreateCode closed 3 months ago
Issue Number:
Problem Summary: h2 rpc_dump时 内存泄漏。
具体是http和h2都走ProcessHttpRequest方法,在处理rpc_dump时,先AskToBeSampled创建堆对象再判is_http2,若是http2无释放堆对象逻辑。
发压cmd:rpc_press -protocol=h2 xxxx
Changed: h2 req不做AskToBeSampled
修复前:
brpc_h2_rpc_dump_mem_leak_bug.pdf
修复后:
brpc_h2_rpc_dump_mem_leak_fixed.pdf
Side effects:
@chenBright
@wwbmmm 合下?
LGTM
What problem does this PR solve?
Issue Number:
Problem Summary: h2 rpc_dump时 内存泄漏。
具体是http和h2都走ProcessHttpRequest方法,在处理rpc_dump时,先AskToBeSampled创建堆对象再判is_http2,若是http2无释放堆对象逻辑。
发压cmd:rpc_press -protocol=h2 xxxx
What is changed and the side effects?
Changed: h2 req不做AskToBeSampled
修复前:
brpc_h2_rpc_dump_mem_leak_bug.pdf
修复后:
brpc_h2_rpc_dump_mem_leak_fixed.pdf
Side effects:
Check List: