Proper handling of the dbus call method timeout

Thiago Macieira thiago at kde.org
Fri Jun 9 00:10:12 UTC 2023


On Thursday, 8 June 2023 06:04:55 PDT Simon McVittie wrote:
> * changing what happens when the maximum number of pending replies is
>   reached, so that instead of making the *newest* calls from the same
>   client fail, the dbus-daemon would make the *oldest* calls for the same
>   client (or maybe the same (client,service) pair) report a NoReply or
>   LimitsExceeded failure message synthesized by the dbus-daemon

I don't think that's completely right. There may be many reasons why replies 
to newer messages are sent before older ones, so attempting to add this code, 
even if it kicks in only for when the maximum number of replies is reached, is 
potentially a source of bugs.

The bug should be fixed where the bug is: in the daemon in question.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DCAI Cloud Engineering





More information about the dbus mailing list