aboutsummaryrefslogtreecommitdiff
path: root/src/ejabberd_sup.erl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright to 2019 (#2756)Badlop2019-01-081-1/+1
|
* Fix bugs introduced by previous commitEvgeny Khramtsov2018-09-281-1/+1
|
* Move XMPP stream and SASL processing to xmpp repoEvgeniy Khramtsov2018-07-061-1/+0
|
* Move shaper to p1_utils repoEvgeniy Khramtsov2018-07-051-1/+1
|
* Simplify ejabberd_sup codeEvgeniy Khramtsov2018-03-031-142/+50
|
* Remove 'iqdisc' optionEvgeniy Khramtsov2018-02-111-9/+0
| | | | | | | | | | | | | | | | | Since we got rid of all bottle-neck processes and we have a connection pool for every database, the option is no longer needed and in fact is detrimental: in practice what you get is just a bunch of overloaded processes in the IQ handlers pool no matter how much you increase the `iqdisc` value. Given that there are close to zero operators understanding the meaning of the option and, hence, not using it all, it's not simply deprecated but completely removed. The commit also deprecates the following functions: - gen_iq_handler:add_iq_handler/6 - gen_iq_handler:handle/5 - gen_iq_handler:iqdisc/1
* Introduce option 'captcha' for mod_block_strangersEvgeniy Khramtsov2018-01-261-1/+1
| | | | | | | | | | When the option is set to `true`, the module will generate CAPTCHA challenges for incoming subscription requests. The option also implies that option `drop` is set to `true`. Note that the module won't generate CAPTCHA challenges for messages: they will still be rejected if `drop` is set to `true`. Fixes #2246
* Update copyright datesEvgeniy Khramtsov2018-01-051-1/+1
|
* Rewrite ejabberd system monitorEvgeniy Khramtsov2017-12-171-8/+0
| | | | | | | | | | | | Previous version was inefficient: it had a lot of false positives along with a lot of false negatives, making its usage pointless. The new verion is based on memsup(3erl) application: the OOM watchdog is only started when total OS memory consumption is more than 80%. A watchdog periodically inspects all running processes and collects statistics about overloaded ones (those queueing a lot of messages). If the OOM killer is enabled (`oom_killer: true`), all overloaded processes would be killed. By default, OOM killer is enabled. When memory consumption is back to normal, the OOM watchdog is stopped.
* Make ACME code working with ejabberd_pkixEvgeniy Khramtsov2017-11-171-0/+3
|
* Use new API for IQ routingEvgeniy Khramtsov2017-11-101-0/+3
| | | | | Functions ejabberd_local:route_iq/2,3 are now depecated: ejabberd_router:route_iq/2,3,4 should be used instead.
* Make ejabberd_cluster modularEvgeniy Khramtsov2017-07-061-0/+7
| | | | | For setting the cluster backend new global option 'cluster_backend' is introduced. The default and only available value at the moment is 'mnesia'
* Introduce Certficate ManagerEvgeniy Khramtsov2017-05-121-0/+3
| | | | | | | | | | | | | | | | | | | | The major goal is to simplify certificate management in ejabberd. Currently it requires some effort from a user to configure certficates, especially in the situation where a lot of virtual domains are hosted. The task is splitted in several sub-tasks: * Implement basic certificate validator. The validator should check all configured certificates for existence, validity, duration and so on. The validator should not perform any actions in the case of errors except logging an error message. This is actually implemented by this commit. * All certificates should be configured inside a single section (something like 'certfiles') where ejabberd should parse them, check the full-chain, find the corresponding private keys and, if needed, resort chains and split the certficates into separate files for easy to use by fast_tls. * Options like 'domain_certfile', 'c2s_certfile' or 's2s_certfile' should probably be deprecated, since the process of matching certificates with the corresponding virtual hosts should be done automatically and these options only introduce configuration errors without any meaningful purpose.
* Merge pull request #1660 from michal800106/masterChristophe Romain2017-04-071-1/+1
|\ | | | | Fix order of starting supervisors.
| * Fix order of starting supervisors.michal2017-04-061-1/+1
| | | | | | | | | | ExtMod should be loaded before GenModSupervisor because ext_mod adds proper paths to ebin from modules (ejabberd-contrib). Without this change you have to add -pa parameter with path to module's ebin.
* | Add Redis pool supportEvgeniy Khramtsov2017-04-061-3/+4
|/ | | | Fixes #1624
* Put more stuff under supervisionEvgeniy Khramtsov2017-02-261-0/+22
|
* Improve startup procedureEvgeniy Khramtsov2017-02-241-1/+45
|
* Merge branch 'new_stream'Evgeniy Khramtsov2017-01-201-41/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/cyrsasl.erl src/ejabberd_c2s.erl src/ejabberd_cluster.erl src/ejabberd_frontend_socket.erl src/ejabberd_node_groups.erl src/ejabberd_router.erl src/mod_bosh.erl src/mod_ip_blacklist.erl src/mod_muc_mnesia.erl src/mod_offline.erl src/mod_proxy65_sm.erl
| * Get rid of ejabberd_frontend_socketEvgeniy Khramtsov2017-01-171-17/+0
| |
| * Implement database backend interface for ejabberd_routerEvgeniy Khramtsov2017-01-111-24/+0
| |
* | Update copyright date automatically (#1442)Badlop2017-01-021-1/+1
|/
* Update copyright to 2016 (#901)Badlop2016-01-131-1/+1
|
* Remove http supervisorsChristophe Romain2015-12-111-9/+0
|
* Remove receiver's supervisorChristophe Romain2015-12-111-9/+0
|
* Remove supervisor option, disable it for c2s and mucChristophe Romain2015-11-041-8/+0
|
* Remove http_poll modulePaweł Chmielowski2015-04-151-11/+0
| | | | | | | For couple years browsers did limit ability to change cookies from js for different domains, this made http_poll connections practically not usuable. I don't think this module is used at all so it's time to put it to rest.
* Copy multicast code from ejabberd-contrib to provide XEP-0033 (#521)Badlop2015-04-081-0/+8
|
* Make it possible to use SQL as an SM backendEvgeniy Khramtsov2015-03-091-8/+0
|
* Update copyright dates to 2015 (EJAB-1733)Badlop2015-01-081-1/+1
|
* Merge pull request #146 from jamielinux/masterbadlop2014-04-111-4/+3
|\ | | | | Update FSF address
| * Update FSF addressJamie Nguyen2014-02-221-4/+3
| |
* | Update copyright dates to 2014 (EJAB-1679)Badlop2014-03-131-1/+1
|/
* Switch to rebar build toolEvgeniy Khramtsov2013-06-131-17/+0
| | | | | | | | | | | | | | | | Use dynamic Rebar configuration Make iconv dependency optional Disable transient_supervisors compile option Add hipe compilation support Only compile ibrowse and lhttpc when needed Make it possible to generate an OTP application release Add --enable-debug compile option Add --enable-all compiler option Add --enable-tools configure option Add --with-erlang configure option. Add --enable-erlang-version-check configure option. Add lager support Improve the test suite
* Get rid of references to non-existent moduleEvgeniy Khramtsov2013-03-291-8/+0
|
* Accumulated patch to binarize and indent codeBadlop2013-03-141-0/+8
|
* Update copyright datesAlexey Shchepin2013-01-241-1/+1
|
* Update copyright datesAlexey Shchepin2012-02-231-1/+1
|
* update copyright up to 2011Christophe Romain2011-02-141-1/+1
|
* implemented backend-independed key-value cacheing table; applied to ↵Evgeniy Khramtsov2010-08-301-0/+8
| | | | mod_caps.erl first
* Update year of ProcessOne copyright from 2009 to 2010 (EJAB-1159)Badlop2010-01-121-1/+1
| | | | SVN Revision: 2891
* RFC5389 (STUN) support: stand-alone server, binding usage onlyEvgeniy Khramtsov2009-08-091-0/+9
| | | | SVN Revision: 2450
* * src/ejabberd_captcha.erl: XEP-158 (CAPTCHA Forms).Evgeniy Khramtsov2009-03-131-0/+8
| | | | | | | | | | | * src/ejabberd_config.erl: likewise. * src/ejabberd_sup.erl: likewise. * src/jlib.hrl: likewise. * src/web/ejabberd_http.erl: likewise. * src/mod_muc/mod_muc_room.erl: CAPTCHA support. * src/mod_muc/mod_muc_room.hrl: likewise. SVN Revision: 1991
* * doc/guide.tex: Update copyright date 2008 to 2009 (EJAB-842)Badlop2009-01-121-2/+2
| | | | | | | | * doc/guide.html: Likewise * src/*/*.erl: Likewise * src/*/*.erl: Remove unneeded blankspaces in license text SVN Revision: 1804
* * src/ejabberd_lstener.erl: Fix listenersBadlop2008-10-241-0/+26
| | | | | | | * src/ejabberd_sup.erl: Likewise * src/gen_mod.erl: Likewise SVN Revision: 1665
* * src/ejabberd_app.erl: Start listeners explicitely at serverBadlop2008-10-121-26/+0
| | | | | | | | | | | start after everything else (EJAB-303). Implement support in ejabberd for 'independent listeners', which handle their connections themselves: gen_tcp:listen, etc. * src/ejabberd_listener.erl: Likewise * src/ejabberd_socket.erl: Likewise * src/ejabberd_sup.erl: Likewise SVN Revision: 1631
* * doc/guide.tex: Update Process-one name to ProcessOne (EJAB-708)Badlop2008-07-311-1/+1
| | | | | | | | | | | * doc/guide.html: Likewise * doc/api/overview.edoc: Likewise * src/*/*.erl: Likewise * src/*/*.hrl: Likewise * src/*/*.c: Likewise * src/odbc/*.sql: Likewise SVN Revision: 1499
* * doc/guide.tex: Updated copyright dates to 2008Badlop2008-01-151-1/+1
| | | | | | * src/*: Likewise SVN Revision: 1153
* * Applied copyright update patch 1.Mickaël Rémond2007-12-241-5/+23
| | | | SVN Revision: 1110
* * src/acl.erl and other 64 files: Remove Erlang module attributeBadlop2007-12-061-1/+0
| | | | | | | 'vsn' because it doesn't provide any worth feature, and it difficults hot code update (EJAB-440) SVN Revision: 1044