Skip to contentSkip to conversation

gdbus: Drop message replies if the sender requested no reply

PATCH Denis Kenzior 1 participant 1 message Jan 11, 2016 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hi Philip,

Quoted 12 lines · Philip Withnall

If the sender flags a D-Bus message as not expecting a reply, it is against system bus policy to send a reply — sending one will result in errors being sent to us by dbus-daemon.

Magically drop all replies to messages which request no reply.

This is not a complete fix. In an ideal world, the existing check for G_DBUS_METHOD_FLAG_NOREPLY would be dropped, as the server should be prepared to return a reply to every method, if the client requests and expects one — otherwise the client will time out. However, that’s a much bigger change with a much bigger risk of breaking things, so I’ll stick with this for now.

Quoted 3 lines
---
  gdbus/object.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

Patch is still corrupt.

Applying: gdbus: Drop message replies if the sender requested no reply
fatal: corrupt patch at line 10
Patch failed at 0001 gdbus: Drop message replies if the sender requested no reply

Are you using git send-email?

Regards,
-Denis