# HG changeset patch # User Igor Sysoev # Date 1183721300 0 # Node ID 2b3e6aede7daa39ae805740780f856a4c3c326fa # Parent b9de49a6fd6335b6b9dc119501b6a79c98a750da add comment diff --git a/src/http/modules/ngx_http_log_module.c b/src/http/modules/ngx_http_log_module.c --- 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)