diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2007-09-01 09:51:57 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2007-09-01 09:51:57 +0000 |
| commit | 1f693a97589df7f5ba4d7c176747eaf61811e708 (patch) | |
| tree | 53939f858f05f9b86f0607d471d6f5febf62d428 | |
| parent | abaf55879401d9e505ac8a82250679fdc7291364 (diff) | |
| download | nginx-1f693a97589df7f5ba4d7c176747eaf61811e708.tar.gz nginx-1f693a97589df7f5ba4d7c176747eaf61811e708.tar.bz2 | |
r1272 merge:
add comment
Diffstat (limited to '')
| -rw-r--r-- | src/http/modules/ngx_http_log_module.c | 5 |
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) |
