From c8e173e9c9c639cca54c25f3707de3b9ff58c788 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 15 Apr 2014 01:02:56 +0200 Subject: certmanager: Update ssl_compression when config is reloaded --- core/certmanager.lua | 3 +++ 1 file changed, 3 insertions(+) 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); -- cgit v1.2.3