Diff

core/portmanager.lua @ 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
parent 10641:85f1cbfd364a
child 11535:180c5951e7e4
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