configuration: add <listen_if_possible> option
Submitted by Alban Crequy
Assigned to D-Bus Maintainers
Description
Introduce a <listen_if_possible>
so the dbus-daemon won't just crash out if run on a kernel without support for the socket type we would like.
I will add an implementation soon.
Example of D-Bus configuration file:
<listen>
tcp:port=1234</listen>
<listen_if_possible>
tcp:port=1235</listen_if_possible>
<listen_if_possible>
pigeon:port=carrier,speed=110mph</listen_if_possible>
If the daemon cannot bind on port 1234, it will fail. But if it cannot bind on port 1235, or if it does not understand the last address, it will just ignore the error.
Version: 1.5