diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2017-02-08 19:36:03 +0300 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2017-02-08 19:36:03 +0300 |
| commit | 42f3dd2b843157ea0982b165b69c5dad84095811 (patch) | |
| tree | 45d1489c7d92416def9551d2cffcaf0dfff6af7c | |
| parent | 31a0cab931d78b3169fe2c6e1260660ec5106940 (diff) | |
| download | nginx-42f3dd2b843157ea0982b165b69c5dad84095811.tar.gz nginx-42f3dd2b843157ea0982b165b69c5dad84095811.tar.bz2 | |
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.
| -rw-r--r-- | src/http/ngx_http_request_body.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c index d84dbf829..2f664848d 100644 --- a/src/http/ngx_http_request_body.c +++ b/src/http/ngx_http_request_body.c @@ -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 " @@ -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, |
