aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-11-01 22:28:39 +0100
committerKim Alvefur <zash@zash.se>2019-11-01 22:28:39 +0100
commitfbab8ed06ac738e6aec96db67141f987b9d3c058 (patch)
tree4d778373a01f7d0d3f4466fcb1e4fbd02418d4a3
parent6a73014b9acdf69a7c415ac8f5fa173f83a68362 (diff)
downloadprosody-fbab8ed06ac738e6aec96db67141f987b9d3c058.tar.gz
prosody-fbab8ed06ac738e6aec96db67141f987b9d3c058.zip
net.http.server: Tail call because tail call!
-rw-r--r--net/http/server.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/server.lua b/net/http/server.lua
index 991ef970..0682d6ed 100644
--- a/net/http/server.lua
+++ b/net/http/server.lua
@@ -199,7 +199,7 @@ local function handle_result(request, response, result)
end
end
end
- response:send(body);
+ return response:send(body);
end
function _M.hijack_response(response, listener) -- luacheck: ignore