# HG changeset patch # User Matthew Wild # Date 1366629900 -3600 # Node ID b760b5f0c2b00a7700641a05a8a1238b86ca9e9c # Parent 91052e59375c278957a1570b7f202eb8190ab35e net.server.http: Add a comment diff -r 91052e59375c -r b760b5f0c2b0 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