Diff

core/portmanager.lua @ 9972:240d3f1f7dee 0.11

core.portmanager: Log debug message for each kind of TLS context created
author Kim Alvefur <zash@zash.se>
date Tue, 23 Apr 2019 19:21:06 +0200
parent 8555:4f0f5b49bb03
child 9975:ca01c449357f
line wrap: on
line diff
--- a/core/portmanager.lua	Tue Apr 23 19:13:50 2019 +0200
+++ b/core/portmanager.lua	Tue Apr 23 19:21:06 2019 +0200
@@ -112,6 +112,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 = certmanager.create_context(service_info.name.." port "..port, "server",
 						prefix_ssl_config[interface],
 						prefix_ssl_config[port],