aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-07-06 11:28:20 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-07-06 11:28:20 +0000
commit28eafa574ea8bd1f3bff2fcd0a6a0dd80e434b0b (patch)
treebc16c63f43c3ffd9f72163ff5aeeeb76bba24314 /src
parent28bb27959307bec77a7367d7fe8ee17dfcac2256 (diff)
downloadnginx-28eafa574ea8bd1f3bff2fcd0a6a0dd80e434b0b.tar.gz
nginx-28eafa574ea8bd1f3bff2fcd0a6a0dd80e434b0b.zip
add comment
Diffstat (limited to 'src')
-rw-r--r--src/http/modules/ngx_http_log_module.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_log_module.c b/src/http/modules/ngx_http_log_module.c
index d3ebca4f1..c06e556e4 100644
--- a/src/http/modules/ngx_http_log_module.c
+++ b/src/http/modules/ngx_http_log_module.c
@@ -423,6 +423,11 @@ ngx_http_log_bytes_sent(ngx_http_request_t *r, u_char *buf,
}
+/*
+ * although there is a real $body_bytes_sent variable,
+ * this log operation code function is more optimized for logging
+ */
+
static u_char *
ngx_http_log_body_bytes_sent(ngx_http_request_t *r, u_char *buf,
ngx_http_log_op_t *op)