]> git.kaiwu.me - nginx.git/commit
Merge of r4948, r4949, r4964, r4973, r5011: variables.
authorMaxim Dounin <mdounin@mdounin.ru>
Sun, 10 Feb 2013 03:08:42 +0000 (03:08 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Sun, 10 Feb 2013 03:08:42 +0000 (03:08 +0000)
commit8967b7e032aad31ceb6b6fba9ae71f5eb3c16010
tree83252f3047184d6945493b5e346d6359db488032
parent374b73c43c9b78d523f048be0a72fc7d4538813f
Merge of r4948, r4949, r4964, r4973, r5011: variables.

*) Allow the complex value to be defined as an empty string.
   This makes conversion from strings to complex values possible
   without the loss of functionality.

*) The "auth_basic" directive gained support of variables.

*) Fixed variable syntax checking in "set", "geo", "limit_conn_zone",
   and "perl_set" directives.

*) Added checks that disallow adding a variable with an empty name.
   Added variable name syntax checks to "geo" and "map" directives.

*) Variables $pipe, $request_length, $time_iso8601, and $time_local.
   Log module counterparts are preserved for efficiency.
   Based on patch by Kiril Kalchev.
12 files changed:
src/http/modules/ngx_http_auth_basic_module.c
src/http/modules/ngx_http_fastcgi_module.c
src/http/modules/ngx_http_geo_module.c
src/http/modules/ngx_http_map_module.c
src/http/modules/ngx_http_proxy_module.c
src/http/modules/ngx_http_scgi_module.c
src/http/modules/ngx_http_split_clients_module.c
src/http/modules/ngx_http_sub_filter_module.c
src/http/modules/ngx_http_uwsgi_module.c
src/http/ngx_http_core_module.c
src/http/ngx_http_script.c
src/http/ngx_http_variables.c