comparison src/http/modules/ngx_http_index_module.c @ 3527:84905c7b2aa7

remove r->zero_in_uri
author Igor Sysoev <igor@sysoev.ru>
date Mon, 24 May 2010 12:35:10 +0000
parents 975f0558aab3
children d620f497c50f
comparison
equal deleted inserted replaced
3526:62a4fd1e6e2c 3527:84905c7b2aa7
114 114
115 if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD|NGX_HTTP_POST))) { 115 if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD|NGX_HTTP_POST))) {
116 return NGX_DECLINED; 116 return NGX_DECLINED;
117 } 117 }
118 118
119 if (r->zero_in_uri) {
120 return NGX_DECLINED;
121 }
122
123 ilcf = ngx_http_get_module_loc_conf(r, ngx_http_index_module); 119 ilcf = ngx_http_get_module_loc_conf(r, ngx_http_index_module);
124 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); 120 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
125 121
126 allocated = 0; 122 allocated = 0;
127 root = 0; 123 root = 0;