aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorViliam Mateicka <viliam.mateicka@gmail.com>2009-10-29 22:38:18 +0100
committerViliam Mateicka <viliam.mateicka@gmail.com>2009-10-29 22:38:18 +0100
commitbb5acc939fccd27c5ac47173905dcdf84f88a722 (patch)
treecde754299f868f651cfe8dafaa3fbddebb32f53f /doc
parentbde3d1433997af8cc430f4b9d38e5bde97d3b760 (diff)
downloadmpd-bb5acc939fccd27c5ac47173905dcdf84f88a722.tar.gz
mpd-bb5acc939fccd27c5ac47173905dcdf84f88a722.tar.xz
mpd-bb5acc939fccd27c5ac47173905dcdf84f88a722.zip
httpd: add config option to limit number of clients
Diffstat (limited to 'doc')
-rw-r--r--doc/mpdconf.example1
-rw-r--r--doc/user.xml10
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/mpdconf.example b/doc/mpdconf.example
index 166212ebd..6da84fc37 100644
--- a/doc/mpdconf.example
+++ b/doc/mpdconf.example
@@ -252,6 +252,7 @@ input {
## quality "5.0" # do not define if bitrate is defined
# bitrate "128" # do not define if quality is defined
# format "44100:16:1"
+# max_clients "0" # optional 0=no limit
#}
#
# An example of a pulseaudio output (streaming to a remote pulseaudio server)
diff --git a/doc/user.xml b/doc/user.xml
index 8111482d4..2e4261d3e 100644
--- a/doc/user.xml
+++ b/doc/user.xml
@@ -803,6 +803,16 @@ cd mpd-version</programlisting>
second.
</entry>
</row>
+ <row>
+ <entry>
+ <varname>max_clients</varname>
+ <parameter>MC</parameter>
+ </entry>
+ <entry>
+ Sets a limit, number of concurrent clients. When set
+ to 0 no limit will apply.
+ </entry>
+ </row>
</tbody>
</tgroup>
</informaltable>