Changeset

2372:bb88b76c21d0

httpserver_listener: Update for new connection API
author Matthew Wild <mwild1@gmail.com>
date Thu, 17 Dec 2009 20:22:52 +0000
parents 2371:7ddb8ce0cd0b
children 2373:13090fc6ad90
files net/httpserver_listener.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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