Commit 935a12ae authored by heyuyi0906's avatar heyuyi0906

refine comment

parent a64407cc
......@@ -464,7 +464,9 @@ void Channel::CallMethod(const google::protobuf::MethodDescriptor* method,
// Share the lb with controller.
cntl->_lb = _lb;
// serialize_request must be done before pack_request
// Ensure that serialize_request is done before pack_request in all
// possible executions, including:
// HandleSendFailed => OnVersionedRPCReturned => IssueRPC(pack_request)
_serialize_request(&cntl->_request_buf, cntl, request);
if (FLAGS_usercode_in_pthread &&
done != NULL &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment