Mercurial > hg > nginx
comparison src/http/modules/perl/ngx_http_perl_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 |
---|---|
166 | 166 |
167 | 167 |
168 static ngx_int_t | 168 static ngx_int_t |
169 ngx_http_perl_handler(ngx_http_request_t *r) | 169 ngx_http_perl_handler(ngx_http_request_t *r) |
170 { | 170 { |
171 if (r->zero_in_uri) { | |
172 return NGX_HTTP_NOT_FOUND; | |
173 } | |
174 | |
175 r->main->count++; | 171 r->main->count++; |
176 | 172 |
177 ngx_http_perl_handle_request(r); | 173 ngx_http_perl_handle_request(r); |
178 | 174 |
179 return NGX_DONE; | 175 return NGX_DONE; |