diff options
author | Matthew Wild <mwild1@gmail.com> | 2025-04-02 16:14:24 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2025-04-02 16:14:24 +0100 |
commit | 521b13beb531a8cfcf85b6000e210847a9459f17 (patch) | |
tree | e3dfd5b0879be112713d2e2bb039bd16a15ad799 | |
parent | 9877db0ede2eba822569f0795151b9c51471325e (diff) | |
parent | c384aeca79c69e88055b135a3a926d6107eb946d (diff) | |
download | prosody-521b13beb531a8cfcf85b6000e210847a9459f17.tar.gz prosody-521b13beb531a8cfcf85b6000e210847a9459f17.zip |
Merge 13.0->trunk
-rw-r--r-- | core/portmanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua index 88bd7b61..e1dde176 100644 --- a/core/portmanager.lua +++ b/core/portmanager.lua @@ -258,7 +258,7 @@ local function add_sni_host(host, service) log("error", "Error creating TLS context for SNI host %s: %s", host, err); else local ok, err = active_service.server:sslctx():set_sni_host( - host, + alternate_host or host, cfg.certificate, cfg.key ); |