comparison src/http/ngx_http_copy_filter_module.c @ 254:f3ec44f4a53b NGINX_0_4_12

nginx 0.4.12 *) Feature: the ngx_http_perl_module supports the $r->variable method. *) Bugfix: if a big static file was included using SSI in a response, then the response may be transferred incomplete. *) Bugfix: nginx did not omit the "#fragment" part in URI.
author Igor Sysoev <http://sysoev.ru>
date Tue, 31 Oct 2006 00:00:00 +0300
parents 38e7b94d63ac
children d5ec0be9c835
comparison
equal deleted inserted replaced
253:b75231e1a353 254:f3ec44f4a53b
107 r->request_output = 1; 107 r->request_output = 1;
108 } 108 }
109 109
110 rc = ngx_output_chain(ctx, in); 110 rc = ngx_output_chain(ctx, in);
111 111
112 if (!c->destroyed) {
113
114 if (ctx->in == NULL) {
115 r->buffered &= ~NGX_HTTP_COPY_BUFFERED;
116 } else {
117 r->buffered |= NGX_HTTP_COPY_BUFFERED;
118 }
119
112 #if (NGX_DEBUG) 120 #if (NGX_DEBUG)
113 if (!c->destroyed) {
114 ngx_log_debug3(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 121 ngx_log_debug3(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
115 "copy filter: %i \"%V?%V\"", rc, &r->uri, &r->args); 122 "copy filter: %i \"%V?%V\"", rc, &r->uri, &r->args);
123 #endif
124
116 } 125 }
117 #endif
118 126
119 return rc; 127 return rc;
120 } 128 }
121 129
122 130