aboutsummaryrefslogtreecommitdiffstats
path: root/doc/mpdconf.example
diff options
context:
space:
mode:
authorgeneticdrift <geneticdrift@iotide.com>2012-06-27 09:26:05 +0200
committerMax Kellermann <max@duempel.org>2012-06-27 09:50:35 +0200
commitecec41025f35ea8957dd3b59caeb3f4dfee37821 (patch)
tree1088a939b84be50f35c4c0ce722049a86925bab0 /doc/mpdconf.example
parent799843cc9703bd764425b77a1cdd231c3cd9e9ac (diff)
downloadmpd-ecec41025f35ea8957dd3b59caeb3f4dfee37821.tar.gz
mpd-ecec41025f35ea8957dd3b59caeb3f4dfee37821.tar.xz
mpd-ecec41025f35ea8957dd3b59caeb3f4dfee37821.zip
Documentation for commands searchadd, searchaddpl, and for tcp keepalive config options
Diffstat (limited to 'doc/mpdconf.example')
-rw-r--r--doc/mpdconf.example29
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/mpdconf.example b/doc/mpdconf.example
index 1aa9cf1dc..0045d31ab 100644
--- a/doc/mpdconf.example
+++ b/doc/mpdconf.example
@@ -372,6 +372,35 @@ input {
#
###############################################################################
+# Client TCP keep alive #######################################################
+#
+# For clients connected by TCP on supported platforms.
+# Allows detection of dangling connections due to clients disappearing from
+# the network without closing their connections.
+#
+# This is not usually necessary but can be useful in cases such as wifi connectected
+# clients that go in and out of network range or turn off wifi without closing their
+# connections. Combined with low max_connections this can soon cause clients to not
+# be able to connect.
+#
+#
+# Enable tcp keepalive on new client connections (default is "no")
+#
+#tcp_keep_alive "no"
+#
+# Time in seconds since the last communication on the connection and before
+# the keepalive probing is started. (default is 7200 seconds)
+#tcp_keep_alive_idle "7200"
+#
+# Interval in seconds between keepalive probes, once a probe started.
+# (default is 75 seconds)
+#tcp_keep_alive_interval "75"
+#
+# Number of failed probes before the connection is pronounced dead and
+# the connection is closed. (default is 9 times)
+#tcp_keep_alive_count "9"
+#
+###############################################################################
# Character Encoding ##########################################################
#