comparison src/http/ngx_http_request_body.c @ 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 2c4dbcd6f2e4
comparison
equal deleted inserted replaced
6903:92e771de7d89 6904:5e2423bce883
1085 1085
1086 rb = r->request_body; 1086 rb = r->request_body;
1087 1087
1088 #if (NGX_DEBUG) 1088 #if (NGX_DEBUG)
1089 1089
1090 #if 0
1090 for (cl = rb->bufs; cl; cl = cl->next) { 1091 for (cl = rb->bufs; cl; cl = cl->next) {
1091 ngx_log_debug7(NGX_LOG_DEBUG_EVENT, r->connection->log, 0, 1092 ngx_log_debug7(NGX_LOG_DEBUG_EVENT, r->connection->log, 0,
1092 "http body old buf t:%d f:%d %p, pos %p, size: %z " 1093 "http body old buf t:%d f:%d %p, pos %p, size: %z "
1093 "file: %O, size: %O", 1094 "file: %O, size: %O",
1094 cl->buf->temporary, cl->buf->in_file, 1095 cl->buf->temporary, cl->buf->in_file,
1095 cl->buf->start, cl->buf->pos, 1096 cl->buf->start, cl->buf->pos,
1096 cl->buf->last - cl->buf->pos, 1097 cl->buf->last - cl->buf->pos,
1097 cl->buf->file_pos, 1098 cl->buf->file_pos,
1098 cl->buf->file_last - cl->buf->file_pos); 1099 cl->buf->file_last - cl->buf->file_pos);
1099 } 1100 }
1101 #endif
1100 1102
1101 for (cl = in; cl; cl = cl->next) { 1103 for (cl = in; cl; cl = cl->next) {
1102 ngx_log_debug7(NGX_LOG_DEBUG_EVENT, r->connection->log, 0, 1104 ngx_log_debug7(NGX_LOG_DEBUG_EVENT, r->connection->log, 0,
1103 "http body new buf t:%d f:%d %p, pos %p, size: %z " 1105 "http body new buf t:%d f:%d %p, pos %p, size: %z "
1104 "file: %O, size: %O", 1106 "file: %O, size: %O",