aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-12-17 20:22:52 +0000
committerMatthew Wild <mwild1@gmail.com>2009-12-17 20:22:52 +0000
commitf43c95856a509889acbcd148f15e82fe35b1e5b6 (patch)
treef2e898a964684450a0afc2469fce7a845813b4b9 /net
parentf975e9028d75ce3a8ebf1b93e50e1e05176e491f (diff)
downloadprosody-f43c95856a509889acbcd148f15e82fe35b1e5b6.tar.gz
prosody-f43c95856a509889acbcd148f15e82fe35b1e5b6.zip
httpserver_listener: Update for new connection API
Diffstat (limited to 'net')
-rw-r--r--net/httpserver_listener.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/httpserver_listener.lua b/net/httpserver_listener.lua
index 5a261a43..6933b4fe 100644
--- a/net/httpserver_listener.lua
+++ b/net/httpserver_listener.lua
@@ -24,7 +24,7 @@ function httpserver.onincoming(conn, data)
requests[conn] = request;
-- If using HTTPS, request is secure
- if conn.ssl() then
+ if conn:ssl() then
request.secure = true;
end
end