Diff

net/http/server.lua @ 4706:845393c76d17

net.http.server: Expose events object (for debug purposes)
author Matthew Wild <mwild1@gmail.com>
date Thu, 26 Apr 2012 06:58:57 +0100
parent 4704:d6c4e58333cf
child 4709:98bfebb38705
line wrap: on
line diff
--- a/net/http/server.lua	Thu Apr 26 06:58:21 2012 +0100
+++ b/net/http/server.lua	Thu Apr 26 06:58:57 2012 +0100
@@ -241,4 +241,5 @@
 
 _M.listener = listener;
 _M.codes = codes;
+_M._events = events;
 return _M;