comparison src/http/ngx_http_variables.h @ 635:18268abd340c release-0.3.39

nginx-0.3.39-RELEASE import *) Feature: the "uninitialized_variable_warn" directive; the logging level of the "uninitialized variable" message was lowered from "alert" to "warn". *) Feature: the "override_charset" directive. *) Change: now if the unknown variable is used in the "echo" and "if expr='$name'" SSI-commands, then the "unknown variable" message is not logged. *) Bugfix: the active connection counter increased on the exceeding of the connection limit specified by the "worker_connections" directive; the bug had appeared in 0.2.0. *) Bugfix: the limit rate might not work on some condition; the bug had appeared in 0.3.38.
author Igor Sysoev <igor@sysoev.ru>
date Mon, 17 Apr 2006 19:55:41 +0000
parents 3f8a2132b93d
children e60fe4cf1d4e
comparison
equal deleted inserted replaced
634:af8e20368022 635:18268abd340c
54 ngx_uint_t index); 54 ngx_uint_t index);
55 ngx_http_variable_value_t *ngx_http_get_flushed_variable(ngx_http_request_t *r, 55 ngx_http_variable_value_t *ngx_http_get_flushed_variable(ngx_http_request_t *r,
56 ngx_uint_t index); 56 ngx_uint_t index);
57 57
58 ngx_http_variable_value_t *ngx_http_get_variable(ngx_http_request_t *r, 58 ngx_http_variable_value_t *ngx_http_get_variable(ngx_http_request_t *r,
59 ngx_str_t *name, ngx_uint_t key); 59 ngx_str_t *name, ngx_uint_t key, ngx_uint_t nowarn);
60 60
61 #define ngx_http_clear_variable(r, index) r->variables0[index].text.data = NULL; 61 #define ngx_http_clear_variable(r, index) r->variables0[index].text.data = NULL;
62 62
63 63
64 ngx_int_t ngx_http_variables_add_core_vars(ngx_conf_t *cf); 64 ngx_int_t ngx_http_variables_add_core_vars(ngx_conf_t *cf);