[grpc-io] Re: More granularity for errors generated by gRPC itself

2018-05-04 Thread Arpit Baldeva
There are many scenarios when application would want to see custom error codes even if just for logging/better visibility. The pattern I use: 1. Stick a google::rpc::status in every response message. 2. Create a Message with embedded enums next to the Service definition in the proto file. Each

Re: [grpc-io] Re: Internal OpenSSL initialization affecting the application

2018-05-04 Thread Michael Kilburn
Afaik, all existing OpenSSL versions can't be safely initialized in the way you do it. I already explained why -- there is no point going through it again. The only proper way dealing with this (that I know) -- declare that your library uses OpenSSL and leave end user to initialize it. If your