comparison src/http/ngx_http_header_filter_module.c @ 2709:7dc6ebe26e99

fix debug logging
author Igor Sysoev <igor@sysoev.ru>
date Wed, 15 Apr 2009 13:46:52 +0000
parents aee784753144
children e4a4c889694f
comparison
equal deleted inserted replaced
2708:4c658be4ab63 2709:7dc6ebe26e99
584 b->last = ngx_copy(b->last, header[i].value.data, header[i].value.len); 584 b->last = ngx_copy(b->last, header[i].value.data, header[i].value.len);
585 *b->last++ = CR; *b->last++ = LF; 585 *b->last++ = CR; *b->last++ = LF;
586 } 586 }
587 587
588 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 588 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
589 "%*s\n", (size_t) (b->last - b->pos), b->pos); 589 "%*s", (size_t) (b->last - b->pos), b->pos);
590 590
591 /* the end of HTTP header */ 591 /* the end of HTTP header */
592 *b->last++ = CR; *b->last++ = LF; 592 *b->last++ = CR; *b->last++ = LF;
593 593
594 r->header_size = b->last - b->pos; 594 r->header_size = b->last - b->pos;