protocol-stub: Don't query FQDN when loading module-native-protocol-tcp 84/27084/1
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Thu, 4 Sep 2014 08:39:30 +0000 (11:39 +0300)
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>
Thu, 4 Sep 2014 08:39:30 +0000 (11:39 +0300)
commitfba0c26b40f8bd3fb02fc4c061268cbad0a37b66
treecd5af9f409a138e7e5f7bcd7dc5e08728d56b472
parent630a2b4c68b34f1523d0159038f1a97a1a2a3901
protocol-stub: Don't query FQDN when loading module-native-protocol-tcp

This works around the issue that in some environments it takes 10
seconds to start PulseAudio, because the network is not responding to
our FQDN queries.

A side effect of this is that we don't register the server address in
the native protocol, so things that use the address registry don't
work. Currently this affects module-zeroconf-publish and
module-bonjour-publish. The assumption is that Tizen doesn't need
either of those.

This patch is not upstreamable. To get rid of this patch, someone
needs to fix https://bugs.freedesktop.org/show_bug.cgi?id=81802

Change-Id: I38a2e2676bd4ea3fe8c54a4c0f712fa7c3c5e115
src/modules/module-protocol-stub.c