fullstorydev / grpchan

Channels for gRPC: custom transports
MIT License
204 stars 23 forks source link

oof, major bug: infinite loop when trying to intercept an already-intercepted channel #61

Closed jhump closed 2 years ago

jhump commented 2 years ago

If a call to grpchan.InterceptClientConn is made 2x, to wrap a channel with 2 (or more) layers of interceptors, then RPCs to the resulting channel will get stuck in an infinite loop to a bug in the code that tries to unwrap the interceptors to get down to the root *grpc.ClientConn. 🤦