From 2592e23bae846f2044488f01a739e9d210e30f3e Mon Sep 17 00:00:00 2001
From: Matthew Wild <mwild1@gmail.com>
Date: Mon, 22 Apr 2013 12:25:00 +0100
Subject: net.server.http: Add a comment

---
 net/http/server.lua | 1 +
 1 file changed, 1 insertion(+)

(limited to 'net/http')

diff --git a/net/http/server.lua b/net/http/server.lua
index 3c2b55d5..577b05ef 100644
--- a/net/http/server.lua
+++ b/net/http/server.lua
@@ -31,6 +31,7 @@ local recent_wildcard_events, max_cached_wildcard_events = {}, 10000;
 
 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
-- 
cgit v1.2.3