--- 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;