Changeset

11412:77785c5d6773

core.portmanager: Log SNI hosts, services looked for To highlight how many these are
author Kim Alvefur <zash@zash.se>
date Tue, 02 Mar 2021 21:47:09 +0100
parents 11411:f1fe37916501
children 11413:9fb23779c863
files core/portmanager.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/core/portmanager.lua	Tue Mar 02 13:52:19 2021 +0100
+++ b/core/portmanager.lua	Tue Mar 02 21:47:09 2021 +0100
@@ -230,6 +230,7 @@
 -- Event handlers
 
 local function add_sni_host(host, service)
+	log("debug", "Gathering certificates for SNI for host %s, %s service", host, service or "default");
 	for name, interface, port, n, active_service --luacheck: ignore 213
 		in active_services:iter(service, nil, nil, nil) do
 		if active_service.server.hosts and active_service.tls_cfg then