Mercurial > hg > nginx
comparison src/http/modules/ngx_http_fastcgi_module.c @ 2256:8c17cfe63d2c
underscores_in_headers
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 24 Sep 2008 14:02:50 +0000 |
parents | f62751dab60d |
children | 27ccc4b54fa6 |
comparison
equal
deleted
inserted
replaced
2255:fb7995c7bdd9 | 2256:8c17cfe63d2c |
---|---|
1029 | 1029 |
1030 for ( ;; ) { | 1030 for ( ;; ) { |
1031 | 1031 |
1032 part_start = u->buffer.pos; | 1032 part_start = u->buffer.pos; |
1033 | 1033 |
1034 rc = ngx_http_parse_header_line(r, &u->buffer); | 1034 rc = ngx_http_parse_header_line(r, &u->buffer, 1); |
1035 | 1035 |
1036 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 1036 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
1037 "http fastcgi parser: %d", rc); | 1037 "http fastcgi parser: %d", rc); |
1038 | 1038 |
1039 if (rc == NGX_AGAIN) { | 1039 if (rc == NGX_AGAIN) { |
1074 | 1074 |
1075 buf.last = p; | 1075 buf.last = p; |
1076 | 1076 |
1077 f->split_parts->nelts = 0; | 1077 f->split_parts->nelts = 0; |
1078 | 1078 |
1079 rc = ngx_http_parse_header_line(r, &buf); | 1079 rc = ngx_http_parse_header_line(r, &buf, 1); |
1080 | 1080 |
1081 h->key.len = r->header_name_end - r->header_name_start; | 1081 h->key.len = r->header_name_end - r->header_name_start; |
1082 h->key.data = r->header_name_start; | 1082 h->key.data = r->header_name_start; |
1083 h->key.data[h->key.len] = '\0'; | 1083 h->key.data[h->key.len] = '\0'; |
1084 | 1084 |