comparison src/http/ngx_http_request.c @ 2256:8c17cfe63d2c

underscores_in_headers
author Igor Sysoev <igor@sysoev.ru>
date Wed, 24 Sep 2008 14:02:50 +0000
parents 7fc20e1105cd
children 07bf557a2e40
comparison
equal deleted inserted replaced
2255:fb7995c7bdd9 2256:8c17cfe63d2c
900 if (n == NGX_AGAIN || n == NGX_ERROR) { 900 if (n == NGX_AGAIN || n == NGX_ERROR) {
901 return; 901 return;
902 } 902 }
903 } 903 }
904 904
905 rc = ngx_http_parse_header_line(r, r->header_in); 905 rc = ngx_http_parse_header_line(r, r->header_in,
906 cscf->underscores_in_headers);
906 907
907 if (rc == NGX_OK) { 908 if (rc == NGX_OK) {
908 909
909 if (r->invalid_header && cscf->ignore_invalid_headers) { 910 if (r->invalid_header && cscf->ignore_invalid_headers) {
910 911