Mercurial > hg > nginx
comparison src/http/modules/ngx_http_gzip_static_module.c @ 4659:f12d474f0d5e stable-1.2
Merge of r4612: proper subrequest handling in various modules.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 04 Jun 2012 10:27:00 +0000 |
parents | 13e09cf11d4e |
children | 192f54280a7a |
comparison
equal
deleted
inserted
replaced
4658:c92289afb5be | 4659:f12d474f0d5e |
---|---|
243 | 243 |
244 b->file_pos = 0; | 244 b->file_pos = 0; |
245 b->file_last = of.size; | 245 b->file_last = of.size; |
246 | 246 |
247 b->in_file = b->file_last ? 1 : 0; | 247 b->in_file = b->file_last ? 1 : 0; |
248 b->last_buf = 1; | 248 b->last_buf = (r == r->main) ? 1 : 0; |
249 b->last_in_chain = 1; | 249 b->last_in_chain = 1; |
250 | 250 |
251 b->file->fd = of.fd; | 251 b->file->fd = of.fd; |
252 b->file->name = path; | 252 b->file->name = path; |
253 b->file->log = log; | 253 b->file->log = log; |