Changeset

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
parents 12879:09a53ed8f4d5
children 12882:9ed628635dc6
files net/http.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;