]> git.kaiwu.me - nginx.git/commitdiff
Request body: commented out debug printing of old buffers.
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 8 Feb 2017 16:36:03 +0000 (19:36 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 8 Feb 2017 16:36:03 +0000 (19:36 +0300)
This is not really needed in practice, and causes excessive debug output
in some of our tests.

src/http/ngx_http_request_body.c

index d84dbf8291c6edbfbf4d6005029925021b459d86..2f664848d348249401b01f818b8afd9474fb04c9 100644 (file)
@@ -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,