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.
This commit is contained in:
@@ -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"
|
||||
|
||||
13
doc/user.xml
13
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>
|
||||
|
||||
Reference in New Issue
Block a user