Mercurial > hg > nginx-vendor-0-5
comparison src/http/ngx_http_write_filter_module.c @ 62:0790a8599248 NGINX_0_1_31
nginx 0.1.31
*) Bugfix: the response encrypted by SSL may not transferred complete.
*) Bugfix: errors while processing FastCGI response by SSI.
*) Bugfix: errors while using SSI and gzipping.
*) Bugfix: the redirect with the 301 code was transferred without
response body; bug appeared in 0.1.30.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 16 May 2005 00:00:00 +0400 |
parents | df7d3fff122b |
children | da9a3b14312d |
comparison
equal
deleted
inserted
replaced
61:345d4a254bfb | 62:0790a8599248 |
---|---|
166 | 166 |
167 if (!last && !flush && in && size < (off_t) clcf->postpone_output) { | 167 if (!last && !flush && in && size < (off_t) clcf->postpone_output) { |
168 return NGX_OK; | 168 return NGX_OK; |
169 } | 169 } |
170 | 170 |
171 #if 0 | |
172 /* | |
173 * avoid the output if there are no incoming bufs but there are | |
174 * the postponed requests or data | |
175 */ | |
176 | |
177 if (in == NULL && r->postponed) { | |
178 return NGX_OK; | |
179 } | |
180 #endif | |
181 | |
182 if (c->write->delayed) { | 171 if (c->write->delayed) { |
183 return NGX_AGAIN; | 172 return NGX_AGAIN; |
184 } | 173 } |
185 | 174 |
186 if (size == 0 && !c->buffered) { | 175 if (size == 0 && !c->buffered) { |
230 ngx_free_chain(r->pool, ln); | 219 ngx_free_chain(r->pool, ln); |
231 } | 220 } |
232 | 221 |
233 r->out = chain; | 222 r->out = chain; |
234 | 223 |
235 if (chain || (last && c->buffered)) { | 224 if (chain || c->buffered) { |
236 return NGX_AGAIN; | 225 return NGX_AGAIN; |
237 } | 226 } |
238 | 227 |
239 return NGX_OK; | 228 return NGX_OK; |
240 } | 229 } |