aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-03-02 21:47:09 +0100
committerKim Alvefur <zash@zash.se>2021-03-02 21:47:09 +0100
commitf638628c085d76a140448db4769466adf0723b38 (patch)
treebc99e2b4d290028efcfed2e1385797791345a377
parenta7ce8c82518838acc420726aecb53108353523ec (diff)
downloadprosody-f638628c085d76a140448db4769466adf0723b38.tar.gz
prosody-f638628c085d76a140448db4769466adf0723b38.zip
core.portmanager: Log SNI hosts, services looked for
To highlight how many these are
-rw-r--r--core/portmanager.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua
index 2f9aa8b2..ff12d447 100644
--- a/core/portmanager.lua
+++ b/core/portmanager.lua
@@ -230,6 +230,7 @@ end
-- 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