Open gitgoready opened 7 years ago
Acturely it's rpc_response_header_status_code_INACTIVE in rpc_channel_impl::handle_client_response
Ok,it's an proto2 to proto3 error, enum default value are set to the first one, zero now. change rpcz.proto to
message rpc_response_header {
enum status_code {
OK = 0; // Done
ACTIVE = 1;
INACTIVE = 2;
and class connection_manager enum definition to class connection_manager { public: enum status { DONE = 0, INACTIVE = 1, ACTIVE = 2,
recompile and proto3 ok now.
compile proto files("syntax=proto3") using protobuf3.1,server run ok and got client request,client crash with Application_error(0)