[grpc-io] protobuf-2.5.0/bin/protoc doesn't recognize "stream"?

2018-02-15 Thread Yanpeng Wu
*helloworld.proto* syntax = "proto2"; package helloworld; // The greeting service definition. service Greeter { // Sends a greeting rpc SayHello (HelloRequest) returns (stream HelloReply) {} } // The request message containing the user's name. message HelloRequest { optional string name =

Re: [grpc-io] Random completion queue "ok" value when an asynchronous streaming RPC client pinging a dead service

2018-02-07 Thread Yanpeng Wu
Hi Vijay, Thank you very much for the reply! 1. "Finish will always give an ok of 1", I think this is clear and makes perfect sense. This is corresponding to the last "ok" print in my log: Tag received: 0x2419440, Completion queue/Next() returned: 1 HandleEachResponse_FINISH_BAD 2. I read that