Mercurial > hg > nginx-vendor-1-0
diff src/http/ngx_http_parse.c @ 60:df7d3fff122b NGINX_0_1_30
nginx 0.1.30
*) Bugfix: the worker process may got caught in an endless loop if the
SSI was used.
*) Bugfix: the response encrypted by SSL may not transferred complete.
*) Bugfix: if the length of the response part received at once from
proxied or FastCGI server was equal to 500, then nginx returns the
500 response code; in proxy mode the bug appeared in 0.1.29 only.
*) Bugfix: nginx did not consider the directives with 8 or 9 parameters
as invalid.
*) Feature: the "return" directive can return the 204 response code.
*) Feature: the "ignore_invalid_headers" directive.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Sat, 14 May 2005 00:00:00 +0400 |
parents | b55cbf18157e |
children | 8ad297c88dcb |
line wrap: on
line diff
--- a/src/http/ngx_http_parse.c +++ b/src/http/ngx_http_parse.c @@ -529,6 +529,8 @@ ngx_http_parse_header_line(ngx_http_requ /* first char */ case sw_start: + r->invalid_header = 0; + switch (ch) { case CR: r->header_end = p; @@ -552,6 +554,8 @@ ngx_http_parse_header_line(ngx_http_requ break; } + r->invalid_header = 1; + break; } @@ -606,6 +610,8 @@ ngx_http_parse_header_line(ngx_http_requ break; } + r->invalid_header = 1; + break; /* space* before header value */