diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-12-17 20:22:52 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-12-17 20:22:52 +0000 |
commit | f43c95856a509889acbcd148f15e82fe35b1e5b6 (patch) | |
tree | f2e898a964684450a0afc2469fce7a845813b4b9 | |
parent | f975e9028d75ce3a8ebf1b93e50e1e05176e491f (diff) | |
download | prosody-f43c95856a509889acbcd148f15e82fe35b1e5b6.tar.gz prosody-f43c95856a509889acbcd148f15e82fe35b1e5b6.zip |
httpserver_listener: Update for new connection API
-rw-r--r-- | net/httpserver_listener.lua | 2 |
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 |