]> granicus.if.org Git - ejabberd/commitdiff
Clear fast_tls cache on configuration reload
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>
Fri, 13 Apr 2018 08:10:20 +0000 (11:10 +0300)
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>
Fri, 13 Apr 2018 08:10:20 +0000 (11:10 +0300)
rebar.config
src/ejabberd_pkix.erl

index 6e81578bf13483df20e2d9721dba4aa361a4ae40..823bc38240fbd0e92f927b63836308b62f38edd8 100644 (file)
@@ -22,7 +22,7 @@
                        {tag, {if_version_above, "17", "3.4.2", "3.2.1"}}}},
         {p1_utils, ".*", {git, "https://github.com/processone/p1_utils", {tag, "1.0.11"}}},
         {cache_tab, ".*", {git, "https://github.com/processone/cache_tab", {tag, "1.0.13"}}},
-        {fast_tls, ".*", {git, "https://github.com/processone/fast_tls", {tag, "1.0.21"}}},
+        {fast_tls, ".*", {git, "https://github.com/processone/fast_tls", "a166f0e"}},
         {stringprep, ".*", {git, "https://github.com/processone/stringprep", {tag, "1.0.11"}}},
         {fast_xml, ".*", {git, "https://github.com/processone/fast_xml", {tag, "1.1.29"}}},
         {xmpp, ".*", {git, "https://github.com/processone/xmpp", "bb88d59"}},
index 596c5e4925c602410482269cdd69f5f6d900ac89..229492bea129b97ab3b88699add7b99d5b26cce3 100644 (file)
@@ -172,6 +172,7 @@ config_reloaded() ->
        true -> init_cache();
        false -> delete_cache()
     end,
+    fast_tls:clear_cache(),
     gen_server:call(?MODULE, config_reloaded, 60000).
 
 opt_type(ca_path) ->