mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
Request body: commented out debug printing of old buffers.
This is not really needed in practice, and causes excessive debug output in some of our tests.
This commit is contained in:
parent
31a0cab931
commit
42f3dd2b84
@ -1087,6 +1087,7 @@ ngx_http_request_body_save_filter(ngx_http_request_t *r, ngx_chain_t *in)
|
|||||||
|
|
||||||
#if (NGX_DEBUG)
|
#if (NGX_DEBUG)
|
||||||
|
|
||||||
|
#if 0
|
||||||
for (cl = rb->bufs; cl; cl = cl->next) {
|
for (cl = rb->bufs; cl; cl = cl->next) {
|
||||||
ngx_log_debug7(NGX_LOG_DEBUG_EVENT, r->connection->log, 0,
|
ngx_log_debug7(NGX_LOG_DEBUG_EVENT, r->connection->log, 0,
|
||||||
"http body old buf t:%d f:%d %p, pos %p, size: %z "
|
"http body old buf t:%d f:%d %p, pos %p, size: %z "
|
||||||
@ -1097,6 +1098,7 @@ ngx_http_request_body_save_filter(ngx_http_request_t *r, ngx_chain_t *in)
|
|||||||
cl->buf->file_pos,
|
cl->buf->file_pos,
|
||||||
cl->buf->file_last - cl->buf->file_pos);
|
cl->buf->file_last - cl->buf->file_pos);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
for (cl = in; cl; cl = cl->next) {
|
for (cl = in; cl; cl = cl->next) {
|
||||||
ngx_log_debug7(NGX_LOG_DEBUG_EVENT, r->connection->log, 0,
|
ngx_log_debug7(NGX_LOG_DEBUG_EVENT, r->connection->log, 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user