Mercurial > hg > nginx
comparison src/http/ngx_http_write_filter_module.c @ 513:fbbf16224844 release-0.1.31
nginx-0.1.31-RELEASE import
*) 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; the bug had appeared in 0.1.30.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 16 May 2005 13:53:20 +0000 |
parents | c12967aadd87 |
children | 7fa11e5c6e96 |
comparison
equal
deleted
inserted
replaced
512:3be320f17dbb | 513:fbbf16224844 |
---|---|
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 } |