Changeset

5504:b760b5f0c2b0

net.server.http: Add a comment
author Matthew Wild <mwild1@gmail.com>
date Mon, 22 Apr 2013 12:25:00 +0100
parents 5503:91052e59375c
children 5505:0b6a99e6c1b1
files net/http/server.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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