Hello all,
In the gRIBI protofile <https://github.com/openconfig/gribi/blob/40372e8b4395934f2ebfd30c39615e42dc383f2c/v1/proto/service/gribi.proto#L108> specification there is a requirement to close the client connection based on some invalid request parameters, it looks like that needs to be initiated by the network element(server). * // If the client redundancy mode is ALL_PRIMARY, but a client * *// sends election_id, the network element closes the connection * *// to the client and responds with FAILED_PRECONDITION in * *// status.proto's `code` and sets ModifyRPCErrorDetails.reason * *// to ELECTION_ID_IN_ALL_PRIMARY * Is there a mechanism available in gRPC C++ to achieve this? Is it possible to get the client connection info from RPC context and initiate disconnection upon invalid parameters? Thank you, -Ram. -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/24a7a2f6-5321-436c-b78d-f129c85ef290n%40googlegroups.com.
