From 5db84b1a9f681248634314544533a91f596b2e09 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 6 Jul 2007 11:28:20 +0000 Subject: [PATCH] add comment --- src/http/modules/ngx_http_log_module.c | 5 +++++ 1 file changed, 5 insertions(+) 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)