net.http: Add missing log parameter 0.12
authorMatthew Wild <mwild1@gmail.com>
Thu, 09 Feb 2023 22:37:54 +0000
branch0.12
changeset 12885 91baddaeea84
parent 12883 09a53ed8f4d5
child 12886 9ed628635dc6
net.http: Add missing log parameter
net/http.lua
--- 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;