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 | c8e173e9c9c639cca54c25f3707de3b9ff58c788 (patch) | |
tree | 0340640f6a0e72d656300759d42e68a50e4935ce /core | |
parent | 0f3d96bb858e159322c4bca5d919629a82d6cb09 (diff) | |
download | prosody-c8e173e9c9c639cca54c25f3707de3b9ff58c788.tar.gz prosody-c8e173e9c9c639cca54c25f3707de3b9ff58c788.zip |
certmanager: Update ssl_compression when config is reloaded
Diffstat (limited to 'core')
-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); |