comparison src/http/modules/ngx_http_gzip_static_module.c @ 2444:aee735f41627

set r->root_tested for non-error_page response only
author Igor Sysoev <igor@sysoev.ru>
date Fri, 16 Jan 2009 13:53:08 +0000
parents 8564129d49b6
children 8e720b7fe6d2
comparison
equal deleted inserted replaced
2443:a8697cc12b3a 2444:aee735f41627
174 return NGX_HTTP_NOT_FOUND; 174 return NGX_HTTP_NOT_FOUND;
175 } 175 }
176 176
177 #endif 177 #endif
178 178
179 r->root_tested = 1; 179 r->root_tested = !r->error_page;
180 180
181 rc = ngx_http_discard_request_body(r); 181 rc = ngx_http_discard_request_body(r);
182 182
183 if (rc != NGX_OK) { 183 if (rc != NGX_OK) {
184 return rc; 184 return rc;