From 9af9fd140032138894e4781caabee8a5a96edab8 Mon Sep 17 00:00:00 2001 From: Thomas Jansen Date: Sat, 25 Sep 2010 15:00:43 +0200 Subject: 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. --- doc/mpdconf.example | 1 + doc/user.xml | 13 +++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/mpdconf.example b/doc/mpdconf.example index 3b69e9bb..b14337c7 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 e1e62eb9..c783a981 100644 --- a/doc/user.xml +++ b/doc/user.xml @@ -914,8 +914,17 @@ cd mpd-version P - Binds the HTTP server to the specified port (on all - interfaces). + Binds the HTTP server to the specified port. + + + + + bind_to_address + ADDR + + + Binds the HTTP server to the specified address (IPv4 or + IPv6). Multiple addresses in parallel are not supported. -- cgit v1.2.3