# HG changeset patch # User Matthew Wild # Date 1366629900 -3600 # Node ID 3a876f02934a812acbced563866a251a4f41105e # Parent 69ee5b10738d2c5b783b22b47cfd3ebf83addb3c net.server.http: Add a comment diff -r 69ee5b10738d -r 3a876f02934a net/http/server.lua --- a/net/http/server.lua Mon Apr 22 12:24:42 2013 +0100 +++ b/net/http/server.lua Mon Apr 22 12:25:00 2013 +0100 @@ -31,6 +31,7 @@ local event_map = events._event_map; setmetatable(events._handlers, { + -- Called when firing an event that doesn't exist (but may match a wildcard handler) __index = function (handlers, curr_event) if is_wildcard_event(curr_event) then return; end -- Wildcard events cannot be fired -- Find all handlers that could match this event, sort them