Skip to content

Commit feb1830

Browse files
committed
Fix
1 parent 1f2fa3a commit feb1830

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/brpc/policy/baidu_rpc_protocol.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,7 @@ void ProcessRpcRequest(InputMessageBase* msg_base) {
867867
butil::IOBuf req_buf;
868868
int body_without_attachment_size = req_size - meta.attachment_size();
869869
#if BRPC_WITH_GDR
870+
int meta_size = msg->meta.size();
870871
bool is_gpu_memory = msg->payload.is_gpu_memory();
871872
if(is_gpu_memory) {
872873
int64_t real_prefetch_d2h_size = msg->meta.get_first_data_meta();

0 commit comments

Comments
 (0)