From 753e768090560ae2202c89922ba8ee4171c8ba7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micka=C3=ABl=20R=C3=A9mond?=
 <mickael.remond@process-one.net>
Date: Mon, 22 May 2006 10:17:22 +0000
Subject: * src/ejabberd_sm.erl: The max_user_sessions has been moved to host
 configuration. * src/ejabberd.cfg.example: Likewise. * doc/guide.tex:
 Likewise.

SVN Revision: 568
---
 doc/guide.tex | 29 ++++++++++++++++-------------
 1 file changed, 16 insertions(+), 13 deletions(-)

(limited to 'doc/guide.tex')

diff --git a/doc/guide.tex b/doc/guide.tex
index 5e2bc1af4..3bf520849 100644
--- a/doc/guide.tex
+++ b/doc/guide.tex
@@ -505,6 +505,19 @@ Examples:
 \end{verbatim}
 \end{itemize}
 
+\subsubsection{Limitation of the number of opened sessions}
+\label{sec:configmaxsessions}
+\ind{options!max\_user\_sessions}
+
+This option specifies the maximum number of sessions (authenticated
+connections) per user. If a user tries to open more than the maximum number of
+allowed sessions, with different resources, the first opened session will be
+disconnected. The error ``\term{session replaced}'' is send to the
+disconnected session. This value is either a number or \term{infinity}.  For
+example \verb|{max\_user\_sessions, 10}|.  The default value is \term{10}.
+
+This option can be define per virtual host. See section~\ref{sec:configvirtualhost}.
+
 \subsubsection{Listened Sockets}
 \label{sec:configlistened}
 \ind{options!listen}
@@ -526,9 +539,9 @@ Currently next modules are implemented:
   \begin{tabular}{|l|l|p{87mm}|}
   \hline \texttt{ejabberd\_c2s}& Description& Handles c2s connections.\\
     \cline{2-3} & Options& \texttt{access}, \texttt{certfile}, \texttt{inet6},
-    \texttt{ip}, \texttt{max\_stanza\_size}, \texttt{max\_user\_sessions}, 
-    \texttt{shaper}, \texttt{ssl}, \texttt{tls}, \texttt{starttls},
-    \texttt{starttls\_required}, \texttt{zlib}\\
+    \texttt{ip}, \texttt{max\_stanza\_size}, \texttt{shaper}, \texttt{ssl},
+    \texttt{tls}, \texttt{starttls}, \texttt{starttls\_required},
+    \texttt{zlib}\\
   \hline \texttt{ejabberd\_s2s\_in}& Description& Handles incoming s2s
   connections.\\
     \cline{2-3} & Options& \texttt{inet6}, \texttt{ip},
@@ -574,16 +587,6 @@ The following options are available:
     option specifies an approximate maximal size in bytes of XML stanzas.
     For example \verb|{max\_stanza\_size, 65536}|.  The default value
     is ``\term{infinity}''.
-
-  \titem{\{max\_user\_sessions, Max\}} \ind{options!max\_user\_sessions}This
-    option specifies the maximum number of sessions (authenticated
-    connections) per user. If a user tries to open more than the maximum
-    number of allowed sessions, with different resources, the first opened
-    session will be disconnected. The error ``\term{session replaced}'' is
-    send to the disconnected session. This value is either a number or
-    \term{infinity}.  For example \verb|{max\_user\_sessions, 10}|.  The
-    default value is \term{10}.
-
   \titem{\{shaper, <access rule>\}} \ind{options!shaper}This option defines a
     shaper for the port (see section~\ref{sec:configshaper}). The default value
     is ``\term{none}''.
-- 
cgit v1.2.3

