Mercurial > hg > nginx
comparison src/http/modules/ngx_http_referer_module.c @ 637:e60fe4cf1d4e release-0.3.40
nginx-0.3.40-RELEASE import
*) Feature: the ngx_http_dav_module supports the MKCOL method.
*) Feature: the "create_full_put_path" directive.
*) Feature: the "$limit_rate" variable.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 19 Apr 2006 15:30:56 +0000 |
parents | 5d2b8078c1c2 |
children | db7c468c447d |
comparison
equal
deleted
inserted
replaced
636:21003753acbf | 637:e60fe4cf1d4e |
---|---|
296 NGX_HTTP_VAR_CHANGABLE|NGX_HTTP_VAR_NOHASH); | 296 NGX_HTTP_VAR_CHANGABLE|NGX_HTTP_VAR_NOHASH); |
297 if (var == NULL) { | 297 if (var == NULL) { |
298 return NGX_CONF_ERROR; | 298 return NGX_CONF_ERROR; |
299 } | 299 } |
300 | 300 |
301 var->handler = ngx_http_referer_variable; | 301 var->get_handler = ngx_http_referer_variable; |
302 | 302 |
303 if (rlcf->keys == NULL) { | 303 if (rlcf->keys == NULL) { |
304 rlcf->keys = ngx_pcalloc(cf->temp_pool, sizeof(ngx_hash_keys_arrays_t)); | 304 rlcf->keys = ngx_pcalloc(cf->temp_pool, sizeof(ngx_hash_keys_arrays_t)); |
305 if (rlcf->keys == NULL) { | 305 if (rlcf->keys == NULL) { |
306 return NGX_CONF_ERROR; | 306 return NGX_CONF_ERROR; |