Mercurial > hg > nginx-ranges
comparison src/http/modules/perl/ngx_http_perl_module.c @ 585:ff463db0be31 NGINX_0_8_38
nginx 0.8.38
*) Feature: the "proxy_no_cache" and "fastcgi_no_cache" directives.
*) Feature: now the "rewrite" directive does a redirect automatically
if the $scheme variable is used.
Thanks to Piotr Sikora.
*) Bugfix: now "limit_req" delay directive conforms to the described
algorithm.
Thanks to Maxim Dounin.
*) Bugfix: the $uid_got variable might not be used in the SSI and perl
modules.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 24 May 2010 00:00:00 +0400 |
parents | 8246d8a2c2be |
children |
comparison
equal
deleted
inserted
replaced
584:5b59e716792b | 585:ff463db0be31 |
---|---|
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; |