diff options
author | Igor Sysoev <igor@sysoev.ru> | 2008-12-01 14:54:57 +0000 |
---|---|---|
committer | Jonathan Kolb <jon@b0g.us> | 2008-12-01 14:54:57 +0000 |
commit | 8009eea9058f3d858f6837b252594347e1ed89c9 (patch) | |
tree | 0eeba20c6d1dcf29a44d906efce76539b0ba0328 /src/http/ngx_http_variables.c | |
parent | 14fc50d2541963292e3d8fece20078ee34b21e36 (diff) | |
download | nginx-0.7.24.tar.gz |
Changes with nginx 0.7.24 01 Dec 2008v0.7.24
*) Feature: the "if_modified_since" directive.
*) Bugfix: nginx did not process a FastCGI server response, if the
server send too many messages to stderr before response.
*) Bugfix: the "$cookie_..." variables did not work in the SSI and the
perl module.
Diffstat (limited to 'src/http/ngx_http_variables.c')
-rw-r--r-- | src/http/ngx_http_variables.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/http/ngx_http_variables.c b/src/http/ngx_http_variables.c index aad541e81..998c4ce35 100644 --- a/src/http/ngx_http_variables.c +++ b/src/http/ngx_http_variables.c @@ -25,6 +25,8 @@ static ngx_int_t ngx_http_variable_unknown_header_in(ngx_http_request_t *r, ngx_http_variable_value_t *v, uintptr_t data); static ngx_int_t ngx_http_variable_unknown_header_out(ngx_http_request_t *r, ngx_http_variable_value_t *v, uintptr_t data); +static ngx_int_t ngx_http_variable_cookie(ngx_http_request_t *r, + ngx_http_variable_value_t *v, uintptr_t data); static ngx_int_t ngx_http_variable_argument(ngx_http_request_t *r, ngx_http_variable_value_t *v, uintptr_t data); @@ -490,7 +492,7 @@ ngx_http_get_variable(ngx_http_request_t *r, ngx_str_t *name, ngx_uint_t key, if (ngx_strncmp(name->data, "cookie_", 7) == 0) { - if (ngx_http_variable_argument(r, vv, (uintptr_t) name) == NGX_OK) { + if (ngx_http_variable_cookie(r, vv, (uintptr_t) name) == NGX_OK) { return vv; } |