]> git.kaiwu.me - nginx.git/commitdiff
r1272 merge:
authorIgor Sysoev <igor@sysoev.ru>
Sat, 1 Sep 2007 09:51:57 +0000 (09:51 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Sat, 1 Sep 2007 09:51:57 +0000 (09:51 +0000)
add comment

src/http/modules/ngx_http_log_module.c

index d3ebca4f1677e2aa06e69ade61f496e42dfcbc47..c06e556e4be66433c53158b8d78d12e925b48c6d 100644 (file)
@@ -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)