comparison src/http/modules/ngx_http_gzip_static_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 dd1570b6f237
children d620f497c50f
comparison
equal deleted inserted replaced
3526:62a4fd1e6e2c 3527:84905c7b2aa7
87 87
88 if (r->uri.data[r->uri.len - 1] == '/') { 88 if (r->uri.data[r->uri.len - 1] == '/') {
89 return NGX_DECLINED; 89 return NGX_DECLINED;
90 } 90 }
91 91
92 if (r->zero_in_uri) {
93 return NGX_DECLINED;
94 }
95
96 gzcf = ngx_http_get_module_loc_conf(r, ngx_http_gzip_static_module); 92 gzcf = ngx_http_get_module_loc_conf(r, ngx_http_gzip_static_module);
97 93
98 if (!gzcf->enable) { 94 if (!gzcf->enable) {
99 return NGX_DECLINED; 95 return NGX_DECLINED;
100 } 96 }