diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2005-05-14 18:40:51 +0000 |
|---|---|---|
| committer | Jonathan Kolb <jon@b0g.us> | 2005-05-14 18:40:51 +0000 |
| commit | fabfcb9467f605bb2354fc51349563f102027b1d (patch) | |
| tree | 393e109e89c41154b40946f02997c347898f1d3f /src/http/ngx_http_parse.c | |
| parent | 4b4c1f681d5475900d89e99d87e15388044e3f5b (diff) | |
| download | nginx-fabfcb9467f605bb2354fc51349563f102027b1d.tar.gz | |
Changes with nginx 0.1.30 14 May 2005v0.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.
Diffstat (limited to 'src/http/ngx_http_parse.c')
| -rw-r--r-- | src/http/ngx_http_parse.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c index 752b6a16c..027d9efe6 100644 --- 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_request_t *r, ngx_buf_t *b) /* 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_request_t *r, ngx_buf_t *b) break; } + r->invalid_header = 1; + break; } @@ -606,6 +610,8 @@ ngx_http_parse_header_line(ngx_http_request_t *r, ngx_buf_t *b) break; } + r->invalid_header = 1; + break; /* space* before header value */ |
