aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_fastcgi_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-09-24 14:02:50 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-09-24 14:02:50 +0000
commit753792e108677d4a444e89a54e94c3188235ddeb (patch)
treea7b87e35b500116c3cc4f23ed7c1a468046eab13 /src/http/modules/ngx_http_fastcgi_module.c
parente17cc987d32259f19145a260e9ee755c1cf21227 (diff)
downloadnginx-753792e108677d4a444e89a54e94c3188235ddeb.tar.gz
nginx-753792e108677d4a444e89a54e94c3188235ddeb.zip
underscores_in_headers
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, 2 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c
index 049c1130b..b4a07d011 100644
--- a/src/http/modules/ngx_http_fastcgi_module.c
+++ b/src/http/modules/ngx_http_fastcgi_module.c
@@ -1031,7 +1031,7 @@ ngx_http_fastcgi_process_header(ngx_http_request_t *r)
part_start = u->buffer.pos;
- rc = ngx_http_parse_header_line(r, &u->buffer);
+ rc = ngx_http_parse_header_line(r, &u->buffer, 1);
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
"http fastcgi parser: %d", rc);
@@ -1076,7 +1076,7 @@ ngx_http_fastcgi_process_header(ngx_http_request_t *r)
f->split_parts->nelts = 0;
- rc = ngx_http_parse_header_line(r, &buf);
+ rc = ngx_http_parse_header_line(r, &buf, 1);
h->key.len = r->header_name_end - r->header_name_start;
h->key.data = r->header_name_start;