Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Commit

Permalink
fix(split): adapt java client 2.0 version requests (#877)
Browse files Browse the repository at this point in the history
  • Loading branch information
hycdong authored Aug 16, 2021
1 parent 6db3165 commit f52a6a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/runtime/rpc/rpc_message.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,11 @@ message_ex *message_ex::copy_message_no_reply(const message_ex &old_msg)
}

msg->header->body_length = msg->buffers[1].length();
msg->header->context.u.serialize_format = old_msg.header->context.u.serialize_format;
msg->_is_read = true;
msg->_rw_index = 1;
msg->_rw_offset = old_msg._rw_offset;
msg->local_rpc_code = old_msg.local_rpc_code;
msg->header->context.u.serialize_format = old_msg.header->context.u.serialize_format;
msg->add_ref();

return msg;
Expand Down

0 comments on commit f52a6a9

Please sign in to comment.