Mercurial > hg > nginx
diff src/http/ngx_http_parse.c @ 3079:566eeb81e807
discrease slightly ngx_http_parse_header_line() size:
this line is not required for LF, however, this case is very seldom
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 02 Sep 2009 07:02:49 +0000 |
parents | dcf50b4c7ec6 |
children | bd2573c97e4a |
line wrap: on
line diff
--- a/src/http/ngx_http_parse.c Tue Sep 01 12:47:34 2009 +0000 +++ b/src/http/ngx_http_parse.c Wed Sep 02 07:02:49 2009 +0000 @@ -739,11 +739,11 @@ /* first char */ case sw_start: + r->header_name_start = p; r->invalid_header = 0; switch (ch) { case CR: - r->header_name_start = p; r->header_end = p; state = sw_header_almost_done; break; @@ -752,7 +752,6 @@ goto header_done; default: state = sw_name; - r->header_name_start = p; c = lowcase[ch];