[systemd-devel] sd-bus connections & authentication timeout

Jan Alexander Steffens jan.steffens at gmail.com
Mon Mar 20 16:19:25 UTC 2017

On Mon, Mar 20, 2017, 17:14 Jan Alexander Steffens <jan.steffens at gmail.com>

> You could try calling sd_bus_process(bus, NULL) in a loop while it returns
> >0 so that the initial hello is handled.

Actually, never mind, this is not reliable. IIRC the initial handshake has
multiple steps so this can return zero before everything is done. Can't get
around polling to do this properly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20170320/e80958b0/attachment.html>

More information about the systemd-devel mailing list