Diff

net/http.lua @ 12881:91baddaeea84 0.12

net.http: Add missing log parameter
author Matthew Wild <mwild1@gmail.com>
date Thu, 09 Feb 2023 22:37:54 +0000
parent 12273:c0f49a4026f8
child 12974:ba409c67353b
child 13505:a97c11584042
line wrap: on
line diff
--- a/net/http.lua	Thu Feb 09 15:09:03 2023 +0000
+++ b/net/http.lua	Thu Feb 09 22:37:54 2023 +0000
@@ -94,7 +94,7 @@
 					r.body_length and ("%d bytes"):format(r.body_length) or "unknown length"
 				);
 				if request.streaming_handler then
-					log("debug", "Request '%s': Streaming via handler");
+					log("debug", "Request '%s': Streaming via handler", request.id);
 					r.body_sink, finalize_sink = request.streaming_handler(r);
 				end
 				return;