Diff

net/httpserver_listener.lua @ 2372:bb88b76c21d0

httpserver_listener: Update for new connection API
author Matthew Wild <mwild1@gmail.com>
date Thu, 17 Dec 2009 20:22:52 +0000
parent 2129:fcdcdf00787c
child 2925:692b3c6c5bd2
line wrap: on
line diff
--- a/net/httpserver_listener.lua	Thu Dec 17 20:10:11 2009 +0000
+++ b/net/httpserver_listener.lua	Thu Dec 17 20:22:52 2009 +0000
@@ -24,7 +24,7 @@
 		requests[conn] = request;
 		
 		-- If using HTTPS, request is secure
-		if conn.ssl() then
+		if conn:ssl() then
 			request.secure = true;
 		end
 	end