Diff

core/portmanager.lua @ 9975:ca01c449357f

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Wed, 24 Apr 2019 18:06:48 +0200
parent 9849:70e56f126177
parent 9972:240d3f1f7dee
child 10106:c8fbb7f2fc0d
line wrap: on
line diff
--- a/core/portmanager.lua	Wed Apr 17 10:11:22 2019 -0700
+++ b/core/portmanager.lua	Wed Apr 24 18:06:48 2019 +0200
@@ -113,6 +113,7 @@
 				if service_info.encryption == "ssl" then
 					local global_ssl_config = config.get("*", "ssl") or {};
 					local prefix_ssl_config = config.get("*", config_prefix.."ssl") or global_ssl_config;
+					log("debug", "Creating context for direct TLS service %s on port %d", service_info.name, port);
 					ssl, err, cfg = certmanager.create_context(service_info.name.." port "..port, "server",
 						prefix_ssl_config[interface],
 						prefix_ssl_config[port],
@@ -254,7 +255,6 @@
 		end
 	end
 end
-
 prosody.events.add_handler("item-added/net-provider", function (event)
 	local item = event.item;
 	register_service(item.name, item);