sdk-go icon indicating copy to clipboard operation
sdk-go copied to clipboard

calling close on amqp protocol object , generates infinite loop.

Open aneeshkp opened this issue 3 years ago • 0 comments

When calling close on protocol

func (t *Protocol) Close(ctx context.Context) (err error) {

The code goes on an infinite loop

client/client.go line 244
if err != nil {
					cecontext.LoggerFrom(ctx).Warn("Error while receiving a message: ", err)
					continue
}

With error

go:244","msg":"Error while receiving a message: amqp: link closed"}
{"level":"warn","ts":1620052511.8445728,"logger":"fallback","caller":"client/client.go:244","msg":"Error while receiving a message: amqp: link closed"}

aneeshkp avatar May 03 '21 14:05 aneeshkp