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

fix(split): adapt java client 2.0 version requests #877

Merged
merged 1 commit into from
Aug 16, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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