We've had a similar request/question in https://github.com/grpc/grpc/issues/24017
On Tuesday, September 29, 2020 at 11:03:21 AM UTC-7 ayeg...@gmail.com wrote: > I have a fairly simple use case - check the headers of an incoming RPC > call for a special string indicating authorization to use the service. > Currently I am experimenting based off of this example > https://github.com/grpc/grpc/blob/7bf82de9eda0aa8fecfe5edb33834f1b272be30b/test/cpp/end2end/server_interceptors_end2end_test.cc. > > Specifically the `LoggerInterceptor` example. The happy path involves > calling `Proceed` on the `InterceptorBatchMethods`, but `Hijack` kills the > program. > > My main question is how do I `fail` the connection when the authorization > is not present? > > Sincerely, > Aleks > -- 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 grpc-io+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/ca0cdd8f-ceae-4645-b816-a4a7c2840920n%40googlegroups.com.