Skip to content

Commit

Permalink
Request body: commented out debug printing of old buffers.
Browse files Browse the repository at this point in the history
This is not really needed in practice, and causes excessive debug output
in some of our tests.
  • Loading branch information
mdounin committed Feb 8, 2017
1 parent 31a0cab commit 42f3dd2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/http/ngx_http_request_body.c
Original file line number Diff line number Diff line change
Expand Up @@ -1087,6 +1087,7 @@ ngx_http_request_body_save_filter(ngx_http_request_t *r, ngx_chain_t *in)

#if (NGX_DEBUG)

#if 0
for (cl = rb->bufs; cl; cl = cl->next) {
ngx_log_debug7(NGX_LOG_DEBUG_EVENT, r->connection->log, 0,
"http body old buf t:%d f:%d %p, pos %p, size: %z "
Expand All @@ -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_last - cl->buf->file_pos);
}
#endif

for (cl = in; cl; cl = cl->next) {
ngx_log_debug7(NGX_LOG_DEBUG_EVENT, r->connection->log, 0,
Expand Down

0 comments on commit 42f3dd2

Please sign in to comment.