xmpp.chapril.org-ejabberd/src
Janusz Dziemidowicz 3fd5513549 Decrease CPU usage caused by tls:send with large data.
Sending one large chunk of data with tls:send eats lots of
CPU power and blocks whole Erlang emulator. This is caused by the
fact that encrypted output is read from memory BIO in 1k chunks.
Memory BIO, after reading data, shifts the remaining part.
If large chunks of data (few MB) is sent and then read in 1k
chunks, then a _lot_ of shifting is performed eating CPU.

The solution is to simply allocate binary of the needed size
(amount of data in memory BIO can be retrieved with
BIO_ctrl_pending) and then issue only one read that reads the
whole data.
2011-09-25 00:56:15 +02:00
..
eldap New option support: ldap_deref_aliases (EJAB-639) 2011-09-19 17:03:36 +10:00
mod_muc Fix mod_muc_log crash when first log entry is room being destroyed (EJAB-1499) 2011-09-23 17:02:00 +02:00
mod_proxy65 update copyright up to 2011 2011-02-14 13:47:22 +01:00
mod_pubsub fix broken PEP after EJAB-1498 (thanks to Karim Gemayel) 2011-09-22 20:49:56 +02:00
msgs Update the changed string in the PO translation files 2011-03-13 18:41:43 +01:00
odbc Updated mysql schema with current dump (EJAB-1474) 2011-09-02 13:15:03 +02:00
pam update copyright up to 2011 2011-02-14 13:47:22 +01:00
stun update copyright up to 2011 2011-02-14 13:47:22 +01:00
tls Decrease CPU usage caused by tls:send with large data. 2011-09-25 00:56:15 +02:00
web added svg mimetype to default content types (thanks to Markus Kohlhase) 2011-09-20 16:50:32 +02:00
win32 Remove unused and useless SVN keywords 2010-08-02 16:03:05 +02:00
Makefile.in Replace the full ejabberd_zlib into a simple exmpp_compress interface (EJAB-991) 2011-09-03 01:04:33 +02:00
Makefile.win32 Replace the full ejabberd_zlib into a simple exmpp_compress interface (EJAB-991) 2011-09-03 01:04:33 +02:00
XmppAddr.asn1 * src/ejabberd_s2s_in.erl: Support for dNSName certificate field 2005-11-17 05:29:33 +00:00
acinclude.m4 Replace the full ejabberd_zlib into a simple exmpp_compress interface (EJAB-991) 2011-09-03 01:04:33 +02:00
acl.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
adhoc.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
adhoc.hrl update copyright up to 2011 2011-02-14 13:47:22 +01:00
cache_tab.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
cache_tab_sup.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
config.guess Autodetect compilation parameters for Mac OS X Snow Leopard (EJAB-1056) 2009-10-12 12:59:07 +00:00
config.sub Autodetect compilation parameters for Mac OS X Snow Leopard (EJAB-1056) 2009-10-12 12:59:07 +00:00
configure.ac Replace the full ejabberd_zlib into a simple exmpp_compress interface (EJAB-991) 2011-09-03 01:04:33 +02:00
configure.bat * src/translate.erl: Search translations directory in priv_dir 2004-04-27 20:28:23 +00:00
configure.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
cyrsasl.erl Fix problems detected by Dialyzer 2011-08-17 19:25:59 +02:00
cyrsasl.hrl Support SASL GSSAPI authentication (thanks to Mikael Magnusson)(EJAB-831) 2010-07-23 01:23:35 +02:00
cyrsasl_anonymous.erl New SASL authentication method: SCRAM-SHA-1 (thanks to Stephen Röttger)(EJAB-1196) 2011-08-16 00:28:25 +02:00
cyrsasl_digest.erl Fix SASL auth error conditions 2011-09-05 16:29:30 +02:00
cyrsasl_gssapi.erl Fix crash when SASL PLAIN denies auth (EJAB-1425) 2011-03-16 18:38:44 +01:00
cyrsasl_plain.erl Fix SASL auth error conditions 2011-09-05 16:29:30 +02:00
cyrsasl_scram.erl Fix SCRAM to support attributes which value has only one character 2011-09-05 23:37:57 +02:00
dynamic_compile.erl * src/ejabberd_loglevel.erl: Use dynamic_compile instead of 2009-05-06 14:51:51 +00:00
ejabberd.app Replace the full ejabberd_zlib into a simple exmpp_compress interface (EJAB-991) 2011-09-03 01:04:33 +02:00
ejabberd.cfg.example New SASL authentication method: SCRAM-SHA-1 (thanks to Stephen Röttger)(EJAB-1196) 2011-08-16 00:28:25 +02:00
ejabberd.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd.hrl New SASL authentication method: SCRAM-SHA-1 (thanks to Stephen Röttger)(EJAB-1196) 2011-08-16 00:28:25 +02:00
ejabberd.init.template Several fixes and improvements in ejabberd.init.template 2011-05-24 23:46:25 +02:00
ejabberd_admin.erl No need to explicitly skip old useless tables, simply fix keep_tables 2011-09-14 16:19:23 +02:00
ejabberd_app.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_auth.erl New SASL authentication method: SCRAM-SHA-1 (thanks to Stephen Röttger)(EJAB-1196) 2011-08-16 00:28:25 +02:00
ejabberd_auth_anonymous.erl New SASL authentication method: SCRAM-SHA-1 (thanks to Stephen Röttger)(EJAB-1196) 2011-08-16 00:28:25 +02:00
ejabberd_auth_external.erl Fix more Dialyzer warnings 2011-08-22 22:26:54 +02:00
ejabberd_auth_ldap.erl New option support: ldap_deref_aliases (EJAB-639) 2011-09-19 17:03:36 +10:00
ejabberd_auth_pam.erl New SASL authentication method: SCRAM-SHA-1 (thanks to Stephen Röttger)(EJAB-1196) 2011-08-16 00:28:25 +02:00
ejabberd_auth_storage.erl Fix problems detected by Dialyzer 2011-08-17 19:25:59 +02:00
ejabberd_c2s.erl Fix zlib compression connection (EJAB-1448) 2011-09-03 00:06:53 +02:00
ejabberd_c2s_config.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_captcha.erl Support more captcha_host value formats (EJAB-1418) 2011-04-11 19:58:37 +02:00
ejabberd_check.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_cluster.erl consistent hashing support. WARNING: update exmpp before running this 2010-06-03 00:01:36 +10:00
ejabberd_commands.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_commands.hrl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_config.erl Cut the string when calling halt/1 2011-05-30 17:11:51 +02:00
ejabberd_config.hrl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_ctl.erl Fix to show correctly the command that is unknown 2011-02-23 16:51:40 +01:00
ejabberd_ctl.hrl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_frontend_socket.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_global_router.erl New files for MH (thanks to Alexey Shchepin and Geoff Cant) 2010-07-23 00:29:26 +02:00
ejabberd_global_router.hrl New files for MH (thanks to Alexey Shchepin and Geoff Cant) 2010-07-23 00:29:26 +02:00
ejabberd_hooks.erl Improve static_modules support in hooks (EJAB-1478) 2011-07-11 19:47:03 +02:00
ejabberd_hosts.erl No need to have the default "localhost" in the table "hosts" 2011-06-23 16:26:36 +02:00
ejabberd_listener.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_local.erl New route_iq/5 accepting Timeout (thanks to Edwin Fine)(EJAB-1398) 2011-02-21 13:46:59 +01:00
ejabberd_logger_h.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_loglevel.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_node_groups.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_piefxis.erl Support to import XML files without password-format attribute 2011-09-08 11:43:21 +02:00
ejabberd_rdbms.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_receiver.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_router.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_router_multicast.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_s2s.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_s2s_in.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_s2s_out.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_service.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_sm.erl New option resource_conflict defines server action (thanks to Lee Boynton)(EJAB-650) 2011-08-17 19:44:56 +02:00
ejabberd_socket.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_sup.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_system_monitor.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_tmp_sup.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_update.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
ejabberd_zlib.erl Fix support to negotiate zlib compression after starttls 2011-09-05 16:53:04 +02:00
ejabberdctl.cfg.example Comment in the cfg file the correct node name used in ejabberdctl.template 2011-06-28 00:31:31 +02:00
ejabberdctl.template ejabberdctl doesn't support parameters with blankspaces (EJAB-1458) 2011-09-22 16:18:44 +02:00
ejd2odbc.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
etop_defs.hrl add missing hrl 2010-07-16 18:55:58 +02:00
etop_tr.erl Fix warning about unused variable 2010-07-19 12:11:10 +02:00
extauth.erl If extauth script crashes, ejabberd should restart it (EJAB-1428) 2011-04-11 21:27:36 +02:00
gen_iq_handler.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
gen_mod.erl Provide stacktrace in log report when module start fails 2011-08-16 19:29:36 +02:00
gen_storage.erl Support for static_modules in mod_muc and mod_muc_log 2011-07-19 22:14:56 +02:00
gen_storage_migration.erl Fix support for odbc + gen_storage + static_modules 2011-08-16 19:29:38 +02:00
gen_storage_odbc.erl Use the syntax PRIMARY KEY (field(int)) only for MySQL (EJAB-1337) 2011-09-02 13:50:03 +02:00
idna.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
inetrc * src/ejabberdctl.template: Create logs_dir if doesn't exist. New 2008-01-01 10:53:05 +00:00
install-sh Autodetect compilation parameters for Mac OS X Snow Leopard (EJAB-1056) 2009-10-12 12:59:07 +00:00
jd2ejd.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
jlib.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
jlib.hrl update copyright up to 2011 2011-02-14 13:47:22 +01:00
mod_adhoc.erl Fix support for static_modules in mod_adhoc, announce, disco, last, offline 2011-07-11 19:47:11 +02:00
mod_announce.erl Fix support for static_modules in mod_adhoc, announce, disco, last, offline 2011-07-11 19:47:11 +02:00
mod_blocking.erl Support static_modules in mod_blocking, configure, pres_counter, register, shared_roster and sic 2011-07-15 02:49:48 +02:00
mod_caps.erl Support static_modules in mod_caps, ping, privacy, private, roster, stats and time 2011-07-15 02:50:04 +02:00
mod_configure.erl Support static_modules in mod_blocking, configure, pres_counter, register, shared_roster and sic 2011-07-15 02:49:48 +02:00
mod_configure2.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
mod_disco.erl Use #roster record instead of direct tuple 2011-07-13 17:12:51 +02:00
mod_echo.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
mod_ip_blacklist.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
mod_last.erl Fix support for static_modules in mod_adhoc, announce, disco, last, offline 2011-07-11 19:47:11 +02:00
mod_multicast.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
mod_offline.erl Fix support for static_modules in mod_adhoc, announce, disco, last, offline 2011-07-11 19:47:11 +02:00
mod_ping.erl Add comment about ping requests sent even to non-supporting clients 2011-08-04 18:32:45 +02:00
mod_pres_counter.erl Support static_modules in mod_blocking, configure, pres_counter, register, shared_roster and sic 2011-07-15 02:49:48 +02:00
mod_privacy.erl Support static_modules in mod_caps, ping, privacy, private, roster, stats and time 2011-07-15 02:50:04 +02:00
mod_privacy.hrl Support XEP-0191 Simple Communications Blocking (thanks to Stephan Maka)(EJAB-695) 2011-05-27 11:54:50 +02:00
mod_private.erl Support static_modules in mod_caps, ping, privacy, private, roster, stats and time 2011-07-15 02:50:04 +02:00
mod_register.erl Support static_modules in mod_blocking, configure, pres_counter, register, shared_roster and sic 2011-07-15 02:49:48 +02:00
mod_roster.erl Name and groups must be binaries, not strings 2011-07-28 16:58:58 +02:00
mod_roster.hrl update copyright up to 2011 2011-02-14 13:47:22 +01:00
mod_service_log.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
mod_shared_roster.erl Add support for @online@ to add_user_to_group 2011-09-20 16:45:08 +02:00
mod_shared_roster_ldap.erl New option support: ldap_deref_aliases (EJAB-639) 2011-09-19 17:03:36 +10:00
mod_sic.erl Support static_modules in mod_blocking, configure, pres_counter, register, shared_roster and sic 2011-07-15 02:49:48 +02:00
mod_stats.erl Fix problems detected by Dialyzer 2011-08-17 19:25:59 +02:00
mod_time.erl Support static_modules in mod_caps, ping, privacy, private, roster, stats and time 2011-07-15 02:50:04 +02:00
mod_vcard.erl Support static_modules in mod_vcard, vcard_xupdate, version, http_bind and http_fileserver 2011-07-15 02:50:45 +02:00
mod_vcard_ldap.erl New option support: ldap_deref_aliases (EJAB-639) 2011-09-19 17:03:36 +10:00
mod_vcard_xupdate.erl Support static_modules in mod_vcard, vcard_xupdate, version, http_bind and http_fileserver 2011-07-15 02:50:45 +02:00
mod_version.erl Support static_modules in mod_vcard, vcard_xupdate, version, http_bind and http_fileserver 2011-07-15 02:50:45 +02:00
overview.edoc update copyright up to 2011 2011-02-14 13:47:22 +01:00
p1_fsm.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
p1_mnesia.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
p1_prof.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
pg2_backport.erl Tweak pg2_backport.erl to work with Erlang older than R13A (EJAB-1349) 2011-02-22 23:44:22 +01:00
randoms.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
scram.erl Fix SCRAM auth of uppercase passwords (EJAB-1196) 2011-09-05 13:04:26 +02:00
sha.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
shaper.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
translate.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
treap.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00
win32_dns.erl update copyright up to 2011 2011-02-14 13:47:22 +01:00