mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
client: introduce auto-connect-localhost= option in client.conf
Partly fixes: http://pulseaudio.org/ticket/773 Also fixes a security hole since listening on the default port is not access controlled right now.
This commit is contained in:
parent
4b1679e06d
commit
3d6cc026e2
5 changed files with 20 additions and 4 deletions
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
typedef struct pa_client_conf {
|
||||
char *daemon_binary, *extra_arguments, *default_sink, *default_source, *default_server, *default_dbus_server, *cookie_file;
|
||||
pa_bool_t autospawn, disable_shm;
|
||||
pa_bool_t autospawn, disable_shm, auto_connect_localhost;
|
||||
uint8_t cookie[PA_NATIVE_COOKIE_LENGTH];
|
||||
pa_bool_t cookie_valid; /* non-zero, when cookie is valid */
|
||||
size_t shm_size;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue