# HG changeset patch # User Kim Alvefur # Date 1572643719 -3600 # Node ID 0ea7b47690961ebeb69492b6da80f562d2636617 # Parent 7a95f27ac9d656da1d6b74b01b240a99fa2da558 net.http.server: Tail call because tail call! diff -r 7a95f27ac9d6 -r 0ea7b4769096 net/http/server.lua --- a/net/http/server.lua Fri Nov 01 22:25:54 2019 +0100 +++ b/net/http/server.lua Fri Nov 01 22:28:39 2019 +0100 @@ -199,7 +199,7 @@ end end end - response:send(body); + return response:send(body); end function _M.hijack_response(response, listener) -- luacheck: ignore