comparison src/http/ngx_http_variables.h @ 296:2ceaee987f37 NGINX_0_5_18

nginx 0.5.18 *) Feature: the ngx_http_sub_filter_module. *) Feature: the "$upstream_http_..." variables. *) Feature: now the $upstream_status and $upstream_response_time variables keep data about all upstreams before X-Accel-Redirect. *) Bugfix: a segmentation fault occurred in master process after first reconfiguration and receiving any signal if nginx was built with ngx_http_perl_module and perl did not support multiplicity; bug appeared in 0.5.9. *) Bugfix: if perl did not support multiplicity, then after reconfiguration perl code did not work; bug appeared in 0.3.38.
author Igor Sysoev <http://sysoev.ru>
date Thu, 19 Apr 2007 00:00:00 +0400
parents 54aabf2b0bc6
children 95183808f549
comparison
equal deleted inserted replaced
295:65b7ac8795e3 296:2ceaee987f37
59 ngx_uint_t index); 59 ngx_uint_t index);
60 60
61 ngx_http_variable_value_t *ngx_http_get_variable(ngx_http_request_t *r, 61 ngx_http_variable_value_t *ngx_http_get_variable(ngx_http_request_t *r,
62 ngx_str_t *name, ngx_uint_t key, ngx_uint_t nowarn); 62 ngx_str_t *name, ngx_uint_t key, ngx_uint_t nowarn);
63 63
64 ngx_int_t ngx_http_variable_unknown_header(ngx_http_variable_value_t *v,
65 ngx_str_t *var, ngx_list_part_t *part, size_t prefix);
66
67
64 #define ngx_http_clear_variable(r, index) r->variables0[index].text.data = NULL; 68 #define ngx_http_clear_variable(r, index) r->variables0[index].text.data = NULL;
65 69
66 70
67 ngx_int_t ngx_http_variables_add_core_vars(ngx_conf_t *cf); 71 ngx_int_t ngx_http_variables_add_core_vars(ngx_conf_t *cf);
68 ngx_int_t ngx_http_variables_init_vars(ngx_conf_t *cf); 72 ngx_int_t ngx_http_variables_init_vars(ngx_conf_t *cf);