Software /
code /
prosody
Changeset
10466:276f62d14437
mod_net_multiplex: Tweak debug logging for ALPN case
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 29 Nov 2019 23:41:41 +0100 |
parents | 10465:09697a673015 |
children | 10467:600d4cf41ce1 |
files | plugins/mod_net_multiplex.lua |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_net_multiplex.lua Fri Nov 29 23:27:51 2019 +0100 +++ b/plugins/mod_net_multiplex.lua Fri Nov 29 23:41:41 2019 +0100 @@ -48,10 +48,9 @@ local sock = conn:socket(); if sock.getalpn then local selected_proto = sock:getalpn(); - module:log("debug", "ALPN selected is %s", selected_proto); local service = service_by_protocol[selected_proto]; if service then - module:log("debug", "Routing incoming connection to %s", service.name); + module:log("debug", "Routing incoming connection to %s based on ALPN %q", service.name, selected_proto); local next_listener = service.listener; conn:setlistener(next_listener); local onconnect = next_listener.onconnect;