# HG changeset patch # User Kim Alvefur # Date 1575067301 -3600 # Node ID 276f62d144371a565ef421697e250efab289f95a # Parent 09697a67301576c56b6ff9a2af342e040f9ad560 mod_net_multiplex: Tweak debug logging for ALPN case diff -r 09697a673015 -r 276f62d14437 plugins/mod_net_multiplex.lua --- 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;