summaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_log_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-07-09 06:57:23 +0000
committerJonathan Kolb <jon@b0g.us>2007-07-09 06:57:23 +0000
commit8aa92bfd2642d24b664564c39290185efe1ed670 (patch)
tree1a0c4d752006601faea51aee6a588b247464033c /src/http/modules/ngx_http_log_module.c
parent373100239c2731609f7198bbe37d972052fe03be (diff)
downloadnginx-0.6.2.tar.gz
Changes with nginx 0.6.2 09 Jul 2007v0.6.2
*) Bugfix: if the FastCGI header was split in records, then nginx passed garbage in the header to a client.
Diffstat (limited to 'src/http/modules/ngx_http_log_module.c')
-rw-r--r--src/http/modules/ngx_http_log_module.c5
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)