From: Igor Sysoev Date: Thu, 22 Apr 2010 13:35:30 +0000 (+0000) Subject: make $arg_ variables non-cacheable X-Git-Tag: release-0.8.36~3 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=185a5d172671b4b4346d801e144e055f3962d55d;p=nginx.git make $arg_ variables non-cacheable --- diff --git a/src/http/ngx_http_variables.c b/src/http/ngx_http_variables.c index f3fc9f683..eee997b19 100644 --- a/src/http/ngx_http_variables.c +++ b/src/http/ngx_http_variables.c @@ -1937,6 +1937,7 @@ ngx_http_variables_init_vars(ngx_conf_t *cf) if (ngx_strncmp(v[i].name.data, "arg_", 4) == 0) { v[i].get_handler = ngx_http_variable_argument; v[i].data = (uintptr_t) &v[i].name; + v[i].flags = NGX_HTTP_VAR_NOCACHEABLE; continue; }