changeset 1446:7d70686fda27 stable-0.5

r1272 merge: add comment
author Igor Sysoev <igor@sysoev.ru>
date Sat, 01 Sep 2007 09:51:57 +0000
parents f25c82f19c0a
children 9a6d577807ea
files src/http/modules/ngx_http_log_module.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
 }
 
 
+/*
+ * 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)