aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/certmanager.lua3
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);