Software /
code /
prosody-modules
Diff
mod_auth_http_async/mod_auth_http_async.lua @ 1931:bd5412eb0a6d
mod_auth_http_async: Actually do the HTTP request
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 24 Oct 2015 13:19:25 +0200 |
parent | 1930:95bbf3c4aa27 |
child | 1932:3729245498ae |
line wrap: on
line diff
--- a/mod_auth_http_async/mod_auth_http_async.lua Sat Oct 24 13:19:10 2015 +0200 +++ b/mod_auth_http_async/mod_auth_http_async.lua Sat Oct 24 13:19:25 2015 +0200 @@ -27,6 +27,7 @@ content, code, request, response = content_, code_, request_, response_; done(); end + http.request(url, ex, cb); wait(); return content, code, request, response; end