diff options
author | Kim Alvefur <zash@zash.se> | 2014-04-15 01:02:56 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-04-15 01:02:56 +0200 |
commit | 42c69fe33960001f3183582d0fceb57cbae72cb3 (patch) | |
tree | 0340640f6a0e72d656300759d42e68a50e4935ce | |
parent | 1d19874ae8b891a5b1d0e9714af6e126fd86dd4a (diff) | |
download | prosody-42c69fe33960001f3183582d0fceb57cbae72cb3.tar.gz prosody-42c69fe33960001f3183582d0fceb57cbae72cb3.zip |
certmanager: Update ssl_compression when config is reloaded
-rw-r--r-- | core/certmanager.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua index 012eb933..8f1e1520 100644 --- a/core/certmanager.lua +++ b/core/certmanager.lua @@ -194,6 +194,9 @@ end function reload_ssl_config() global_ssl_config = configmanager.get("*", "ssl"); + if luasec_has_no_compression then + core_defaults.options.no_compression = configmanager.get("*", "ssl_compression") ~= true; + end end prosody.events.add_handler("config-reloaded", reload_ssl_config); |