net.server.http: Add a comment
authorMatthew Wild <mwild1@gmail.com>
Mon, 22 Apr 2013 12:25:00 +0100
changeset 5507 3a876f02934a
parent 5506 69ee5b10738d
child 5508 b7a8615e2be1
net.server.http: Add a comment
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