diff options
author | Thomas Jansen <mithi@mithi.net> | 2010-09-25 15:00:43 +0200 |
---|---|---|
committer | Thomas Jansen <mithi@mithi.net> | 2010-09-25 15:00:43 +0200 |
commit | 9af9fd140032138894e4781caabee8a5a96edab8 (patch) | |
tree | e8afa3fcc319b9a8f9b810c32ae398edeee2372f /doc | |
parent | 0c80bd5fc09fad536424b139331b0f8f43437d1b (diff) | |
download | mpd-9af9fd140032138894e4781caabee8a5a96edab8.tar.gz mpd-9af9fd140032138894e4781caabee8a5a96edab8.tar.xz mpd-9af9fd140032138894e4781caabee8a5a96edab8.zip |
output/httpd: bind_to_address support (including IPv6)
Added support for a new optional configuration setting for the httpd output
named "bind_to_address". Setting it to a specific IP address (v4 or v6) will
cause the httpd output to bind to that address exclusively. Supporting
multiple addresses in parallel is future work.
This implements the feature requests #2998 and #2646.
Diffstat (limited to '')
-rw-r--r-- | doc/mpdconf.example | 1 | ||||
-rw-r--r-- | doc/user.xml | 13 |
2 files changed, 12 insertions, 2 deletions
diff --git a/doc/mpdconf.example b/doc/mpdconf.example index 3b69e9bb3..b14337c76 100644 --- a/doc/mpdconf.example +++ b/doc/mpdconf.example @@ -260,6 +260,7 @@ input { # name "My HTTP Stream" # encoder "vorbis" # optional, vorbis or lame # port "8000" +# bind_to_address "0.0.0.0" # optional, IPv4 or IPv6 ## quality "5.0" # do not define if bitrate is defined # bitrate "128" # do not define if quality is defined # format "44100:16:1" diff --git a/doc/user.xml b/doc/user.xml index e1e62eb92..c783a981b 100644 --- a/doc/user.xml +++ b/doc/user.xml @@ -914,8 +914,17 @@ cd mpd-version</programlisting> <parameter>P</parameter> </entry> <entry> - Binds the HTTP server to the specified port (on all - interfaces). + Binds the HTTP server to the specified port. + </entry> + </row> + <row> + <entry> + <varname>bind_to_address</varname> + <parameter>ADDR</parameter> + </entry> + <entry> + Binds the HTTP server to the specified address (IPv4 or + IPv6). Multiple addresses in parallel are not supported. </entry> </row> <row> |