gen_rmq icon indicating copy to clipboard operation
gen_rmq copied to clipboard

[BUG] Connections can potentially be leaked

Open vorce opened this issue 4 years ago • 0 comments

Describe the bug This is a bit theoretical at the moment, I have not experienced it myself in gen_rmq. Creating this issue more as an investigation.

Here's a PR that fixes an issue with the amqp_client used in Broadway, where in some scenarios open connections can be leaked (aka not managed): https://github.com/dashbitco/broadway_rabbitmq/pull/83 More details on the problem in this twitter thread: https://twitter.com/whatyouhide/status/1329182911506092032 After looking at our code I am pretty sure we have the same problem.

To Reproduce No idea yet.

Expected behavior No connections leaked

vorce avatar Nov 22 '20 16:11 vorce