# HG changeset patch # User Kim Alvefur # Date 1397516576 -7200 # Node ID b7d1607df87dcc327484a447104b7ff350b52f55 # Parent 5cffee5b2826c89e939d4de6070f59a2820f8d56 certmanager: Update ssl_compression when config is reloaded diff -r 5cffee5b2826 -r b7d1607df87d core/certmanager.lua --- a/core/certmanager.lua Tue Apr 15 00:49:17 2014 +0200 +++ b/core/certmanager.lua Tue Apr 15 01:02:56 2014 +0200 @@ -194,6 +194,9 @@ 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);