net.server.http: Add a comment
authorMatthew Wild <mwild1@gmail.com>
Mon, 22 Apr 2013 12:25:00 +0100
changeset 5504 b760b5f0c2b0
parent 5503 91052e59375c
child 5505 0b6a99e6c1b1
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