Mercurial > hg > nginx
comparison src/http/modules/ngx_http_proxy_module.c @ 7677:a786e491d08d
Proxy: style.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 06 Jul 2020 18:36:21 +0300 |
parents | d225b70d38b6 |
children | 8dbc9ee97998 |
comparison
equal
deleted
inserted
replaced
7676:d225b70d38b6 | 7677:a786e491d08d |
---|---|
2204 break; | 2204 break; |
2205 } | 2205 } |
2206 | 2206 |
2207 /* invalid response */ | 2207 /* invalid response */ |
2208 | 2208 |
2209 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, | 2209 ngx_log_error(NGX_LOG_ERR, p->log, 0, |
2210 "upstream sent invalid chunked response"); | 2210 "upstream sent invalid chunked response"); |
2211 | 2211 |
2212 return NGX_ERROR; | 2212 return NGX_ERROR; |
2213 } | 2213 } |
2214 | 2214 |
2215 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 2215 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, p->log, 0, |
2216 "http proxy chunked state %ui, length %O", | 2216 "http proxy chunked state %ui, length %O", |
2217 ctx->chunked.state, p->length); | 2217 ctx->chunked.state, p->length); |
2218 | 2218 |
2219 if (b) { | 2219 if (b) { |
2220 b->shadow = buf; | 2220 b->shadow = buf; |