Mercurial > hg > nginx-vendor-0-8
comparison src/http/ngx_http_parse.c @ 524:80f7156c2965 NGINX_0_8_14
nginx 0.8.14
*) Bugfix: an expired cached response might stick in the "UPDATING"
state.
*) Bugfix: a segmentation fault might occur in worker process, if
error_log was set to info or debug level.
Thanks to Sergey Bochenkov.
*) Bugfix: in embedded perl module; the bug had appeared in 0.8.11.
*) Bugfix: an "error_page" directive did not redirect a 413 error; the
bug had appeared in 0.6.10.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 07 Sep 2009 00:00:00 +0400 |
parents | 24b676623d4f |
children | 0161f3197817 |
comparison
equal
deleted
inserted
replaced
523:441fbf722b8c | 524:80f7156c2965 |
---|---|
737 | 737 |
738 switch (state) { | 738 switch (state) { |
739 | 739 |
740 /* first char */ | 740 /* first char */ |
741 case sw_start: | 741 case sw_start: |
742 r->header_name_start = p; | |
742 r->invalid_header = 0; | 743 r->invalid_header = 0; |
743 | 744 |
744 switch (ch) { | 745 switch (ch) { |
745 case CR: | 746 case CR: |
746 r->header_end = p; | 747 r->header_end = p; |
749 case LF: | 750 case LF: |
750 r->header_end = p; | 751 r->header_end = p; |
751 goto header_done; | 752 goto header_done; |
752 default: | 753 default: |
753 state = sw_name; | 754 state = sw_name; |
754 r->header_name_start = p; | |
755 | 755 |
756 c = lowcase[ch]; | 756 c = lowcase[ch]; |
757 | 757 |
758 if (c) { | 758 if (c) { |
759 hash = ngx_hash(0, c); | 759 hash = ngx_hash(0, c); |