When using messenger in non-blocking mode, it is possible to ensure that the empty frame heartbeats are sent by calling pn_messenger_work(timeout) on a regular interval (when no other send / recv operations are happening).
However, when using messenger in blocking mode it is not obvious how one should achieve this without optional timeout arguments on all the calls? For example, both pn_messenger_send and pn_messenger_recv accept limits of the number of messages to send and receive during the block, but no option for a timeout on these. -- View this message in context: http://qpid.2158936.n2.nabble.com/blocking-messenger-and-remote-idle-timeout-heartbeating-tp7615767.html Sent from the Apache Qpid Proton mailing list archive at Nabble.com.
