Diff

net/http/server.lua @ 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
parent 10392:7a95f27ac9d6
child 10394:955e54e451dc
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