diff src/http/modules/ngx_http_fastcgi_module.c @ 1532:44bd4db45b30 stable-0.5

r1489 merge: the "proxy_hide_header" and "fastcgi_hide_header" directives did not hide response header lines whose name was longer than 32 characters
author Igor Sysoev <igor@sysoev.ru>
date Sun, 23 Sep 2007 19:28:29 +0000
parents b7d39d0b0025
children 389aeafc3b84
line wrap: on
line diff
--- a/src/http/modules/ngx_http_fastcgi_module.c
+++ b/src/http/modules/ngx_http_fastcgi_module.c
@@ -1135,7 +1135,7 @@ ngx_http_fastcgi_process_header(ngx_http
 
                 } else {
                     for (i = 0; i < h->key.len; i++) {
-                        h->lowcase_key[i] = ngx_tolower(h->lowcase_key[i]);
+                        h->lowcase_key[i] = ngx_tolower(h->key.data[i]);
                     }
                 }