Mercurial > hg > nginx
comparison src/http/modules/ngx_http_static_module.c @ 2377:87b8c44906b5
*) refactor subrequest handling, now they run as separate posted requests
*) now $upstream_addr, $upstream_status, $upstream_response_time can be used
with log_subrequest
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 08 Dec 2008 14:23:20 +0000 |
parents | 8564129d49b6 |
children | 5e5caa72f61e |
comparison
equal
deleted
inserted
replaced
2376:29d89920a749 | 2377:87b8c44906b5 |
---|---|
215 | 215 |
216 if (ngx_http_set_content_type(r) != NGX_OK) { | 216 if (ngx_http_set_content_type(r) != NGX_OK) { |
217 return NGX_HTTP_INTERNAL_SERVER_ERROR; | 217 return NGX_HTTP_INTERNAL_SERVER_ERROR; |
218 } | 218 } |
219 | 219 |
220 if (r != r->main && of.size == 0) { | 220 if (of.size == 0) { |
221 return ngx_http_send_header(r); | 221 return ngx_http_send_header(r); |
222 } | 222 } |
223 | 223 |
224 r->allow_ranges = 1; | 224 r->allow_ranges = 1; |
225 | 225 |