changeset 6904:5e2423bce883

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Wed, 08 Feb 2017 19:36:03 +0300
parents 92e771de7d89
children 9a9e13686869
files src/http/ngx_http_request_body.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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_ht
 
 #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_ht
                        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,