Mercurial > hg > nginx-quic
comparison src/http/ngx_http_core_module.c @ 553:45033d85b30e release-0.2.5
nginx-0.2.5-RELEASE import
*) Change: the duplicate value of the ngx_http_geo_module variable now
causes the warning and changes old value.
*) Feature: the ngx_http_ssi_module supports the "set" command.
*) Feature: the ngx_http_ssi_module supports the "file" parameter in
the "include" command.
*) Feature: the ngx_http_ssi_module supports the variable value
substitutions in expressions of the "if" command.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 04 Oct 2005 10:38:53 +0000 |
parents | 511a89da35ad |
children | 7bd37aef1e7e |
comparison
equal
deleted
inserted
replaced
552:b6f3197058d3 | 553:45033d85b30e |
---|---|
496 } | 496 } |
497 | 497 |
498 r->phase = NGX_HTTP_FIND_CONFIG_PHASE; | 498 r->phase = NGX_HTTP_FIND_CONFIG_PHASE; |
499 } | 499 } |
500 | 500 |
501 if (r->phase == NGX_HTTP_ACCESS_PHASE && r->main) { | 501 if (r->phase == NGX_HTTP_ACCESS_PHASE && r->main != r) { |
502 continue; | 502 continue; |
503 } | 503 } |
504 | 504 |
505 if (r->phase == NGX_HTTP_CONTENT_PHASE && r->content_handler) { | 505 if (r->phase == NGX_HTTP_CONTENT_PHASE && r->content_handler) { |
506 r->write_event_handler = ngx_http_request_empty_handler; | 506 r->write_event_handler = ngx_http_request_empty_handler; |
1097 | 1097 |
1098 if (ngx_http_set_exten(sr) != NGX_OK) { | 1098 if (ngx_http_set_exten(sr) != NGX_OK) { |
1099 return NGX_HTTP_INTERNAL_SERVER_ERROR; | 1099 return NGX_HTTP_INTERNAL_SERVER_ERROR; |
1100 } | 1100 } |
1101 | 1101 |
1102 sr->main = r->main ? r->main : r; | 1102 sr->main = r->main; |
1103 sr->parent = r; | 1103 sr->parent = r; |
1104 sr->read_event_handler = ngx_http_request_empty_handler; | 1104 sr->read_event_handler = ngx_http_request_empty_handler; |
1105 sr->write_event_handler = ngx_http_request_empty_handler; | 1105 sr->write_event_handler = ngx_http_request_empty_handler; |
1106 | 1106 |
1107 if (r->connection->data == r) { | 1107 if (r->connection->data == r) { |