Software / code / prosody
Diff
core/portmanager.lua @ 13808:d005ee01cafd
Merge 13.0->trunk
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 02 Apr 2025 16:14:24 +0100 |
| parent | 13807:21c58b1d5b47 |
| child | 13813:fd7b0adada05 |
line wrap: on
line diff
--- a/core/portmanager.lua Tue Apr 01 21:25:31 2025 +0200 +++ b/core/portmanager.lua Wed Apr 02 16:14:24 2025 +0100 @@ -258,7 +258,7 @@ 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 );