From d0f1300a842f5f22ec22c3387d23fef84a85020c Mon Sep 17 00:00:00 2001
From: Badlop If HTTP Polling is enabled, it wil
http://server:port/http-poll/
. Be aware that support for HTTP Polling
is also needed in the Jabber client. Remark also that HTTP Polling can be
interesting to host a web-based Jabber client such as
-JWChat.
-
The maximum period of time to keep a client session active without
+an incoming POST request can be configured with the global option
+http_poll_timeout. The default value is five minutes.
+The option can be defined in ejabberd.cfg, expressing the time
+in seconds: {http_poll_timeout, 300}.
The memory consumed is measured in words: -a word on 32-bit architecture is 4 bytes, and a word on 64-bit architecture 8 bytes. +a word on 32-bit architecture is 4 bytes, +and a word on 64-bit architecture is 8 bytes. The threshold by default is 1000000 words. This value can be configured with the option watchdog_large_heap, or in a conversation with the watchdog alert bot.
Example configuration: diff --git a/doc/guide.tex b/doc/guide.tex index 169dc612e..f5231affa 100644 --- a/doc/guide.tex +++ b/doc/guide.tex @@ -854,6 +854,13 @@ This is a detailed description of each option allowed by the listening modules: is also needed in the \Jabber{} client. Remark also that HTTP Polling can be interesting to host a web-based \Jabber{} client such as \footahref{http://jwchat.sourceforge.net/}{JWChat}. + + The maximum period of time to keep a client session active without + an incoming POST request can be configured with the global option + \term{http\_poll\_timeout}. The default value is five minutes. + The option can be defined in \term{ejabberd.cfg}, expressing the time + in seconds: \verb|{http_poll_timeout, 300}.| + \titem{\{max\_stanza\_size, Size\}} \ind{options!max\_stanza\_size}This option specifies an approximate maximum size in bytes of XML stanzas. Approximate, -- cgit v1.2.3