# HG changeset patch # User sjoerd.simons@collabora.co.uk # Date 1259340665 0 # Node ID 730038d3e9e31fd9f1deeb31b6733b6a0c4ec42e # Parent bd17dd75b4a578f0225e5d91426c5d4355fee7a9 mod_proxy65: Update listener callback names for new server API diff -r bd17dd75b4a5 -r 730038d3e9e3 plugins/mod_proxy65.lua --- a/plugins/mod_proxy65.lua Fri Nov 27 00:19:56 2009 +0100 +++ b/plugins/mod_proxy65.lua Fri Nov 27 16:51:05 2009 +0000 @@ -31,7 +31,7 @@ local connlistener = { default_port = proxy_port, default_interface = proxy_interface, default_mode = "*a" }; -function connlistener.listener(conn, data) +function connlistener.onincoming(conn, data) local session = sessions[conn] or {}; if session.setup == nil and data ~= nil and data:sub(1):byte() == 0x05 and data:len() > 2 then @@ -94,7 +94,7 @@ end end -function connlistener.disconnect(conn, err) +function connlistener.ondisconnect(conn, err) local session = sessions[conn]; if session then if session.sha and transfers[session.sha] then