Mercurial > hg > nginx
comparison src/http/ngx_http_copy_filter_module.c @ 1259:05b5236c2ff5
if subrequest response was buffered in file, then subrequest was finalized
with 0 code, ngx_http_writer() was not set, and response part in file was lost
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 17 Jun 2007 09:29:15 +0000 |
parents | 362d156f0278 |
children | 68d21fd1dc64 |
comparison
equal
deleted
inserted
replaced
1258:5076d97b9cf0 | 1259:05b5236c2ff5 |
---|---|
115 r->buffered &= ~NGX_HTTP_COPY_BUFFERED; | 115 r->buffered &= ~NGX_HTTP_COPY_BUFFERED; |
116 } else { | 116 } else { |
117 r->buffered |= NGX_HTTP_COPY_BUFFERED; | 117 r->buffered |= NGX_HTTP_COPY_BUFFERED; |
118 } | 118 } |
119 | 119 |
120 if (r != r->main) { | |
121 r->out = ctx->in; | |
122 } | |
123 | |
120 #if (NGX_DEBUG) | 124 #if (NGX_DEBUG) |
121 ngx_log_debug3(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 125 ngx_log_debug3(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
122 "copy filter: %i \"%V?%V\"", rc, &r->uri, &r->args); | 126 "copy filter: %i \"%V?%V\"", rc, &r->uri, &r->args); |
123 #endif | 127 #endif |
124 | 128 |