https://bugs.freedesktop.org/show_bug.cgi?id=78701
Colin Guthrie <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #10 from Colin Guthrie <[email protected]> --- Ooops, I should have read this bug before hacking on the same things! I posted a separate patch to the ML to do this too. Mine doesn't do the IP activation yet however (I was lazy!), but as with this patch it's relatively trivial to add. I opted for not creating a new function to adopt the socket and just checked when creating a new socket server if we happen to have a passed FD that matches via the sd_is_socket_*() function and avoid the bind+listen step. That seems cleaner to me that a separate adopt function, but perhaps that's just taste. Some things slightly different in my patch: 1. I still set filename for unix sockets such that the address is properly calculated and thus exported in e.g. module-x11-publish. I use a separate variable inside the socket server to track whether it's been activated and avoid the unlink when closing. 2. I added an install-data-hook to automatically ship a static symlink to start the socket. This means that it users do not need to do any manual configuration -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________ pulseaudio-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs
