From 1cbfc60570e73f3a37e14ee6b38b793c0b32e073 Mon Sep 17 00:00:00 2001
From: Badlop <badlop@process-one.net>
Date: Mon, 28 Apr 2008 18:07:23 +0000
Subject: * doc/guide.tex: Document the option max_s2s_connections

SVN Revision: 1307
---
 doc/guide.tex | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

(limited to 'doc/guide.tex')

diff --git a/doc/guide.tex b/doc/guide.tex
index 2fcffc610..21922e335 100644
--- a/doc/guide.tex
+++ b/doc/guide.tex
@@ -1255,6 +1255,30 @@ Examples:
 \end{verbatim}
 \end{itemize}
 
+\subsubsection{Several connections to a remote Jabber server with ACL}
+\label{configmaxs2sconns}
+\ind{options!max\_s2s\_connections}
+
+The special access \term{max\_s2s\_connections} specifies how many
+simultaneus S2S connections can be stablished to a specific remote Jabber server.
+The default value is \term{1}.
+There's also available the access \term{max\_s2s\_connections\_per\_node}.
+
+The syntax is:
+\begin{verbatim}
+  {access, max_s2s_connections, [{<maxnumber>, <aclname>},
+                                 ...
+                                ]}.
+\end{verbatim}
+
+Examples:
+\begin{itemize}
+\item Allow up to 3 connections with each remote server:
+\begin{verbatim}
+  {access, max_s2s_connections, [{3, all}]}.
+\end{verbatim}
+\end{itemize}
+
 \subsection{Shapers}
 \label{shapers}
 \ind{options!shaper}\ind{options!maxrate}\ind{shapers}\ind{maxrate}\ind{traffic speed}
-- 
cgit v1.2.3

