commit acea95a02563b85f67903ab20ff1666ea42b70d1
parent 1b51979b0ba7c01e445db18cc613327849374392
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 13 Jul 2015 14:07:08 +0000
-record response length in log
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
@@ -2146,7 +2146,8 @@ MHD_connection_handle_write (struct MHD_Connection *connection)
#if DEBUG_SEND_DATA
if (ret > 0)
fprintf (stderr,
- "Sent DATA response: `%.*s'\n",
+ "Sent %d-byte DATA response: `%.*s'\n",
+ (int) ret,
(int) ret,
&response->data[connection->response_write_position -
response->data_start]);