Comparison

core/portmanager.lua @ 11598:081e550b973a

core.portmanager: Also reload per-SNI certificates
author Kim Alvefur <zash@zash.se>
date Thu, 10 Jun 2021 15:33:52 +0200
parent 11597:7e1ca18fdfb3
child 12312:8119a58b3a5c
comparison
equal deleted inserted replaced
11597:7e1ca18fdfb3 11598:081e550b973a
296 log("error", "Error reloading certificate for encrypted port for %s: %s", service_info.name, 296 log("error", "Error reloading certificate for encrypted port for %s: %s", service_info.name,
297 error_to_friendly_message(service_name, port, err) or "unknown error"); 297 error_to_friendly_message(service_name, port, err) or "unknown error");
298 end 298 end
299 end 299 end
300 end 300 end
301 -- TODO Update SNI too 301 for host in pairs(prosody.hosts) do
302 add_sni_host(host, nil);
303 end
302 end, -1); 304 end, -1);
303 305
304 return { 306 return {
305 activate = activate; 307 activate = activate;
306 deactivate = deactivate; 308 deactivate = deactivate;