max_outgoing_bytes: What if a D-Bus peer is too slow to read?

Havoc Pennington hp at pobox.com
Fri Oct 1 07:15:07 PDT 2010


Hi,

On Fri, Oct 1, 2010 at 8:55 AM, Alban Crequy
<alban.crequy at collabora.co.uk> wrote:
>
> The message is silently not delivered to the recipient who has a full
> outgoing queue. It is still delivered to other recipients, if any.

It may not be silent - you may find that an error reply is generated
and returned to the sender.

But yes, this sounds like correct behavior. If you limit the buffer
then the message can't be buffered and the only option is to fail the
delivery. You have to either make the buffer large enough it's never
exceeded, or you have to handle buffer-full errors.

Havoc


More information about the dbus mailing list