summaryrefslogtreecommitdiff
path: root/src/mod_stream_mgmt.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright datesEvgeniy Khramtsov2018-01-051-1/+1
|
* Get rid of ejabberd receiverEvgeniy Khramtsov2017-12-261-2/+2
| | | | | | | | | | | | ejabberd receivers were meant to serve connections from frontends to backends. However, this approach was not popular and frontend related code was removed in previous releases. Now, ejabberd receiver's code was also removed, making the code shorter and cleaner. Also, in stress tests ejabberd now handles load more robustly, without c2s processes overload (even with disabled shapers). ejabberd_socket.erl is renamed to xmpp_socket.erl: it's supposed to be finally moved into stand-alone xmpp library.
* mod_stream_mgmt: Improve logging on timeoutHolger Weiss2017-11-151-1/+5
| | | | | Produce a better error message if a pending stream management session times out.
* mod_stream_mgmt: Increase 'max_ack_queue' defaultHolger Weiss2017-10-031-1/+1
| | | | | | | Users with large rosters and/or certain transports might receive a very large number of (e.g.) presence and/or PEP stanzas after logging in. Clients might take some time to acknowledge them, especially over slow (mobile) connections.
* mod_stream_mgmt: Delete 'c2s_init' hookHolger Weiss2017-08-171-1/+6
| | | | | Delete the 'c2s_init' hook when the last 'mod_stream_mgmt' instance is stopped.
* mod_stream_mgmt: Remove outdated TODO commentHolger Weiss2017-08-171-2/+0
| | | | The CSI queue is now flushed from mod_client_state.
* Add mod_push_keepaliveHolger Weiss2017-07-211-12/+42
| | | | | | This module tries to keep pending stream management sessions of push clients alive (as long as the disconnected clients are reachable via push notifications).
* mod_stream_mgmt: Add missing function specsHolger Weiss2017-06-211-0/+2
|
* Emit deprecation warning for SM related listening optionsEvgeniy Khramtsov2017-05-051-2/+0
|
* Don't validate an option in gen_mod:get*opt() functionsEvgeniy Khramtsov2017-04-301-37/+17
| | | | | | | | | | | | | | The changes are very similar to those from previous commit: * Now there is no need to pass validating function in gen_mod:get_opt() and gen_mod:get_module_opt() functions, because the modules' configuration keeps already validated values. * New functions gen_mod:get_opt/2 and gen_mod:get_module_opt/3 are introduced. * Functions gen_mod:get_opt/4 and get_module_opt/5 are deprecated. If the functions are still called, the "function" argument is simply ignored. * Validating callback Mod:listen_opt_type/1 is introduced to validate listening options at startup.
* mod_stream_mgmt: Fix typo in variable nameHolger Weiss2017-04-251-1/+1
|
* mod_stream_mgmt: Fix 'if_offline' detectionHolger Weiss2017-04-251-1/+1
|
* mod_stream_mgmt: Preserve stanza count on timeoutHolger Weiss2017-04-191-9/+15
| | | | | | | If a pending stream management session times out, call ejabberd_c2s:process_terminated/2 *before* storing the incoming stanza count. Without this change, the session table entry that holds the stanza count was purged while closing the session.
* Fix closing of outbound S2S connectionsEvgeniy Khramtsov2017-04-151-1/+2
|
* Improve ejabberd_c2s:close()Evgeniy Khramtsov2017-04-151-3/+1
|
* Rename aux.erl as misc.erlChristophe Romain2017-04-111-2/+2
| | | | Thanks Microsoft Windows to not support some filenames
* Deprecate jlib.erl in favor of aux.erlEvgeniy Khramtsov2017-03-301-2/+2
| | | | | Since the main goal of jlib.erl is lost, all auxiliary functions are now moved to aux.erl, and the whole jlib.erl is now deprecated.
* Add support for file-based queuesEvgeniy Khramtsov2017-03-101-57/+41
| | | | | | | | | | | It's now possible to use files as internal packet queues. The following options are introduced: * queue_type: the option can be set to `ram` (default) or `file`. The option can be set per virtual host. * queue_dir: path to the directory where queues will be allocated. The default is 'queue' directory inside Mnesia directory. This is a global option and cannot be set per virtual host.
* Fix log message formatEvgeniy Khramtsov2017-02-261-1/+1
|
* Get rid of jid:to_string/1 and jid:from_string/1Evgeniy Khramtsov2017-02-261-15/+15
|
* Reload modules when reloading configuration fileEvgeniy Khramtsov2017-02-221-1/+5
|
* Test stream management queue overloadEvgeniy Khramtsov2017-02-211-11/+13
|
* Rename mod_sm -> mod_stream_mgmtEvgeniy Khramtsov2017-02-211-0/+756