From c1b618beccc0f301011d4cc7e55612625ace859e Mon Sep 17 00:00:00 2001
From: Jaime Perez Crespo <jaime.perez@uninett.no>
Date: Thu, 24 Sep 2015 11:47:19 +0200
Subject: [PATCH] Document support for UNIX domain sockets in memcache.

---
 docs/simplesamlphp-maintenance.txt | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/docs/simplesamlphp-maintenance.txt b/docs/simplesamlphp-maintenance.txt
index 1f1ef99fc..4707c1d3a 100644
--- a/docs/simplesamlphp-maintenance.txt
+++ b/docs/simplesamlphp-maintenance.txt
@@ -48,14 +48,17 @@ Each server group is an array of servers. The data items will be load-balanced b
 Each server is an array of parameters for the server. The following options are available:
 
 `hostname`
-:   Host name or ip address of a memcache server runs. This is the
-    only required option.
+:   Host name or ip address where the memcache server runs, or specify other transports like *unix:///path/ssp.sock* to
+    use UNIX domain sockets. In that case, port will be ignored and forced to *0*.
+
+    This is the only required option.
 
 `port`
-:   Port number of the memcache server. If not set, the
-    `memcache.default_port` ini setting is used. This is 11211 by
+:   Port number of the memcache server. If not set, the `memcache.default_port` ini setting is used. This is 11211 by
     default.
 
+    The port will be forced to *0* when a UNIX domain socket is specified in *hostname*.
+
 `weight`
 :   Weight of this server in this server group.
     [http://php.net/manual/en/function.Memcache-addServer.php](http://php.net/manual/en/function.Memcache-addServer.php)
-- 
GitLab