# HG changeset patch # User Kim Alvefur # Date 1460830873 -7200 # Node ID 88fec2b2bd583b77ef540d012ac202cef8035daa # Parent f1ea8044f9f8e0681e717b72a623b3a7304c5b40 mod_http_logging: Fix endless loop on 0.9.x (Thanks Mint) diff -r f1ea8044f9f8 -r 88fec2b2bd58 mod_http_logging/mod_http_logging.lua --- 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