bus-proxyd: optimize replies if they're not requested
authorDavid Herrmann <dh.herrmann@gmail.com>
Thu, 8 Jan 2015 19:58:59 +0000 (20:58 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Thu, 8 Jan 2015 19:58:59 +0000 (20:58 +0100)
commit426bb5ddb8ff122d3e08b0480466718b68485e70
tree64b82e0e1c6640da63d89e43c35e89be96b75902
parent9dc41cc5974a4af291de0c67b53050cceee5f6a4
bus-proxyd: optimize replies if they're not requested

If a caller does not request a reply, dont send it. This skips message
creation and speeds up NO_REPLY_EXPECTED cases. Note that sd-bus still
handles this case internally, but if we handle it in bus-proxyd, we can
skip the whole message creation step.
src/bus-proxyd/bus-proxyd.c