Mercurial > hg > nginx-ranges
comparison src/http/modules/ngx_http_index_module.c @ 635:e67b227c8dbb default tip
Merge with current.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 25 Apr 2011 04:07:55 +0400 |
parents | ff463db0be31 |
children |
comparison
equal
deleted
inserted
replaced
578:f3a9e57d2e17 | 635:e67b227c8dbb |
---|---|
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; |