changeset 2163:88fec2b2bd58

mod_http_logging: Fix endless loop on 0.9.x (Thanks Mint)
author Kim Alvefur <zash@zash.se>
date Sat, 16 Apr 2016 20:21:13 +0200
parents f1ea8044f9f8
children e0b8b8a50013
files mod_http_logging/mod_http_logging.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_http_logging/mod_http_logging.lua	Sat Apr 16 14:43:06 2016 +0200
+++ b/mod_http_logging/mod_http_logging.lua	Sat Apr 16 20:21:13 2016 +0200
@@ -25,7 +25,7 @@
 		local date = os.date("%d/%m/%Y:%H:%M:%S %z");
 		module:log("info", "%s - - [%s] \"%s\" %d %s", ip, date, req, response.status_code, tostring(len));
 	end
-	return server.send_response(response, body);
+	return send_response(response, body);
 end
 
 if module.wrap_object_event then