From e84b4a51830cf92432fec58cbf8bc3714694aebd Mon Sep 17 00:00:00 2001 From: Joshua Humphries Date: Thu, 2 Dec 2021 23:08:52 -0500 Subject: [PATCH] oof, major bug: infinite loop when trying to intercept an already-intercepted channel (#61) --- intercept.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intercept.go b/intercept.go index 188c2cf..0aaf0d4 100644 --- a/intercept.go +++ b/intercept.go @@ -52,7 +52,7 @@ func unwrap(ch grpc.ClientConnInterface) grpc.ClientConnInterface { if !ok { return ch } - ch = w + ch = w.Unwrap() } }