Mercurial > hg > nginx
comparison src/http/modules/ngx_http_log_module.c @ 1271:2b3e6aede7da
add comment
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 06 Jul 2007 11:28:20 +0000 |
parents | 6e2216ad2c87 |
children | bb662e047a21 |
comparison
equal
deleted
inserted
replaced
1268:b9de49a6fd63 | 1271:2b3e6aede7da |
---|---|
421 { | 421 { |
422 return ngx_sprintf(buf, "%O", r->connection->sent); | 422 return ngx_sprintf(buf, "%O", r->connection->sent); |
423 } | 423 } |
424 | 424 |
425 | 425 |
426 /* | |
427 * although there is a real $body_bytes_sent variable, | |
428 * this log operation code function is more optimized for logging | |
429 */ | |
430 | |
426 static u_char * | 431 static u_char * |
427 ngx_http_log_body_bytes_sent(ngx_http_request_t *r, u_char *buf, | 432 ngx_http_log_body_bytes_sent(ngx_http_request_t *r, u_char *buf, |
428 ngx_http_log_op_t *op) | 433 ngx_http_log_op_t *op) |
429 { | 434 { |
430 off_t length; | 435 off_t length; |