diff options
author | Kim Alvefur <zash@zash.se> | 2019-11-29 23:41:41 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-11-29 23:41:41 +0100 |
commit | a577a981eea607479d8271a1cfe24fc2407289ca (patch) | |
tree | 0c18e37b2a1b7a14d82765c74648cbbe30d090b0 | |
parent | 349ac37e3c11f3fa28dde84f9946620c6235930a (diff) | |
download | prosody-a577a981eea607479d8271a1cfe24fc2407289ca.tar.gz prosody-a577a981eea607479d8271a1cfe24fc2407289ca.zip |
mod_net_multiplex: Tweak debug logging for ALPN case
-rw-r--r-- | plugins/mod_net_multiplex.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mod_net_multiplex.lua b/plugins/mod_net_multiplex.lua index 2bf1f88d..3de81ddc 100644 --- a/plugins/mod_net_multiplex.lua +++ b/plugins/mod_net_multiplex.lua @@ -48,10 +48,9 @@ function listener.onconnect(conn) 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; |