Mercurial > hg > nginx-ranges
comparison src/http/modules/ngx_http_geo_module.c @ 186:54aabf2b0bc6 NGINX_0_3_40
nginx 0.3.40
*) 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 <http://sysoev.ru> |
---|---|
date | Wed, 19 Apr 2006 00:00:00 +0400 |
parents | 8e6d4d96ec4c |
children | f7cd062ee035 |
comparison
equal
deleted
inserted
replaced
185:a9c5dc369ffe | 186:54aabf2b0bc6 |
---|---|
125 | 125 |
126 if (tree == NULL) { | 126 if (tree == NULL) { |
127 return NGX_CONF_ERROR; | 127 return NGX_CONF_ERROR; |
128 } | 128 } |
129 | 129 |
130 var->handler = ngx_http_geo_variable; | 130 var->get_handler = ngx_http_geo_variable; |
131 var->data = (uintptr_t) tree; | 131 var->data = (uintptr_t) tree; |
132 | 132 |
133 pool = ngx_create_pool(16384, cf->log); | 133 pool = ngx_create_pool(16384, cf->log); |
134 if (pool == NULL) { | 134 if (pool == NULL) { |
135 return NGX_CONF_ERROR; | 135 return NGX_CONF_ERROR; |