Changeset

10393:0ea7b4769096

net.http.server: Tail call because tail call!
author Kim Alvefur <zash@zash.se>
date Fri, 01 Nov 2019 22:28:39 +0100
parents 10392:7a95f27ac9d6
children 10394:955e54e451dc
files net/http/server.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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