[rabbitmq-discuss] C client -- heartbeats

Tony Garnock-Jones tonyg at lshift.net
Thu Aug 20 11:33:33 BST 2009


Tony Garnock-Jones wrote:
> I'll make the change for letting heartbeats get set, so you can experiment.

This is done now. amqp_login has sprouted an extra argument. To see the
effect, try changing it to 3 in amqp_listen.c and see that the server
starts handing out heartbeat frames when its side of the connection is
idle. It'll eventually disconnect amqp_listen when it has heartbeats
configured, because amqp_listen doesn't send any traffic at all once
it's consuming.

Tony
-- 
 [][][] Tony Garnock-Jones     | Mob: +44 (0)7905 974 211
   [][] LShift Ltd             | Tel: +44 (0)20 7729 7060
 []  [] http://www.lshift.net/ | Email: tonyg at lshift.net




More information about the rabbitmq-discuss mailing list