summaryrefslogtreecommitdiffhomepage
path: root/src/http/modules/ngx_http_fastcgi_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-08-04 10:07:00 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-08-04 10:07:00 +0000
commit777b019c7338b6a67f639bb86b90711055709c53 (patch)
tree9bac0517c1d4e6d1690d2738284c89b382eec38e /src/http/modules/ngx_http_fastcgi_module.c
parenteb3e4c8be00d6353b5e545a75f9abda0b154585c (diff)
downloadnginx-777b019c7338b6a67f639bb86b90711055709c53.tar.gz
nginx-777b019c7338b6a67f639bb86b90711055709c53.tar.bz2
ngx_strlow()
Diffstat (limited to 'src/http/modules/ngx_http_fastcgi_module.c')
-rw-r--r--src/http/modules/ngx_http_fastcgi_module.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c
index b975c0675..e310bbb6e 100644
--- a/src/http/modules/ngx_http_fastcgi_module.c
+++ b/src/http/modules/ngx_http_fastcgi_module.c
@@ -1120,9 +1120,7 @@ ngx_http_fastcgi_process_header(ngx_http_request_t *r)
ngx_memcpy(h->lowcase_key, r->lowcase_header, h->key.len);
} else {
- for (i = 0; i < h->key.len; i++) {
- h->lowcase_key[i] = ngx_tolower(h->key.data[i]);
- }
+ ngx_strlow(h->lowcase_key, h->key.data, h->key.len);
}
hh = ngx_hash_find(&umcf->headers_in_hash, h->hash,