Mercurial > hg > nginx-vendor-0-8
comparison src/http/modules/ngx_http_referer_module.c @ 496:f39b9e29530d NGINX_0_8_0
nginx 0.8.0
*) Feature: the "keepalive_requests" directive.
*) Feature: the "limit_rate_after" directive.
Thanks to Ivan Debnar.
*) Bugfix: XLST filter did not work in subrequests.
*) Bugfix: in relative paths handling in nginx/Windows.
*) Bugfix: in proxy_store, fastcgi_store, proxy_cache, and
fastcgi_cache in nginx/Windows.
*) Bugfix: in memory allocation error handling.
Thanks to Maxim Dounin and Kirill A. Korinskiy.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 02 Jun 2009 00:00:00 +0400 |
parents | 54fad6c4b555 |
children | 0161f3197817 |
comparison
equal
deleted
inserted
replaced
495:6d9fb4461113 | 496:f39b9e29530d |
---|---|
219 { | 219 { |
220 ngx_http_referer_conf_t *conf; | 220 ngx_http_referer_conf_t *conf; |
221 | 221 |
222 conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_referer_conf_t)); | 222 conf = ngx_pcalloc(cf->pool, sizeof(ngx_http_referer_conf_t)); |
223 if (conf == NULL) { | 223 if (conf == NULL) { |
224 return NGX_CONF_ERROR; | 224 return NULL; |
225 } | 225 } |
226 | 226 |
227 #if (NGX_PCRE) | 227 #if (NGX_PCRE) |
228 conf->regex = NGX_CONF_UNSET_PTR; | 228 conf->regex = NGX_CONF_UNSET_PTR; |
229 #endif | 229 #endif |