diff -r 0b0fe49e5251 -r 27441b099984 net/httpserver_listener.lua --- a/net/httpserver_listener.lua Sun Nov 29 21:32:39 2009 +0100 +++ b/net/httpserver_listener.lua Sun Nov 29 21:33:37 2009 +0100 @@ -16,7 +16,7 @@ local httpserver = { default_port = 80, default_mode = "*a" }; -function httpserver.listener(conn, data) +function httpserver.onincoming(conn, data) local request = requests[conn]; if not request then @@ -34,7 +34,7 @@ end end -function httpserver.disconnect(conn, err) +function httpserver.ondisconnect(conn, err) local request = requests[conn]; if request and not request.destroyed then request.conn = nil;