aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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