summaryrefslogtreecommitdiff
path: root/src/http/ngx_http_variables.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-05-17 06:08:59 +0000
committerJonathan Kolb <jon@b0g.us>2010-05-17 06:08:59 +0000
commitbdb559930a37e0f299c1b015175ccbc8af309746 (patch)
tree10173d4a6f98c47c721584e641c3904fc73858c1 /src/http/ngx_http_variables.c
parent5b1ac2a50033b677b8f240743b6b7720b7f42bf0 (diff)
downloadnginx-bdb559930a37e0f299c1b015175ccbc8af309746.tar.gz
Changes with nginx 0.8.37 17 May 2010v0.8.37
*) Feature: the ngx_http_split_clients_module. *) Feature: the "map" directive supports keys more than 255 characters. *) Bugfix: nginx ignored the "private" and "no-store" values in the "Cache-Control" backend response header line. *) Bugfix: a "stub" parameter of an "include" SSI directive was not used, if empty response has 200 status code. *) Bugfix: if a proxied or FastCGI request was internally redirected to another proxied or FastCGI location, then a segmentation fault might occur in a worker process; the bug had appeared in 0.8.33. Thanks to Yichun Zhang. *) Bugfix: IMAP connections may hang until they timed out while talking to Zimbra server. Thanks to Alan Batie.
Diffstat (limited to 'src/http/ngx_http_variables.c')
-rw-r--r--src/http/ngx_http_variables.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/http/ngx_http_variables.c b/src/http/ngx_http_variables.c
index c8d1c8dcb..0bba28128 100644
--- a/src/http/ngx_http_variables.c
+++ b/src/http/ngx_http_variables.c
@@ -1390,8 +1390,7 @@ ngx_http_variable_sent_location(ngx_http_request_t *r,
return NGX_OK;
}
- name.len = sizeof("sent_http_location") - 1;
- name.data = (u_char *) "sent_http_location";
+ ngx_str_set(&name, "sent_http_location");
return ngx_http_variable_unknown_header(v, &name,
&r->headers_out.headers.part,