Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_proxy_module.c @ 1774:68d21fd1dc64
use %*s format
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 24 Dec 2007 17:05:31 +0000 |
parents | 40d004d95d88 |
children | 2819956d1ca0 |
comparison
equal
deleted
inserted
replaced
1773:d85879105d35 | 1774:68d21fd1dc64 |
---|---|
878 } | 878 } |
879 | 879 |
880 b->last = e.pos; | 880 b->last = e.pos; |
881 } | 881 } |
882 | 882 |
883 #if (NGX_DEBUG) | 883 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
884 { | 884 "http proxy header:\n\"%*s\"", |
885 ngx_str_t s; | 885 (size_t) (b->last - b->pos), b->pos); |
886 | |
887 s.len = b->last - b->pos; | |
888 s.data = b->pos; | |
889 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | |
890 "http proxy header:\n\"%V\"", &s); | |
891 } | |
892 #endif | |
893 | 886 |
894 if (plcf->body_set == NULL && plcf->upstream.pass_request_body) { | 887 if (plcf->body_set == NULL && plcf->upstream.pass_request_body) { |
895 | 888 |
896 body = u->request_bufs; | 889 body = u->request_bufs; |
897 u->request_bufs = cl; | 890 u->request_bufs = cl; |