[rabbitmq-discuss] Channel crashes after basic.cancel_ok.

Ben Hood 0x6e6562 at gmail.com
Mon May 12 21:44:39 BST 2008


On 12 May 2008, at 20:56, Edwin Fine wrote:

> Ben,
> I was monitoring my running system, and unless I am mistaken, it  
> looks as if amqp_network_connection:reader_loop/4 has a non-tail  
> recursive call, which is making it eat stack and heap like there's  
> no tomorrow. There's a call to gen_tcp:close(Sock) at the end of the  
> function. I suggest you move this to the last line of start_reader  
> as shown:

Fair point. I've applied this change. Thanks for pointing this one out.

> The outstanding issue is to close the writer down properly in the  
> network case.

I've fixed the issue with the network writer not being shut down  
properly and it's in mtn.



More information about the rabbitmq-discuss mailing list