From 3362b8df048ad32b6dd286b37e792f661bb894ea Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sat, 14 May 2005 18:42:03 +0000 Subject: nginx-0.1.30-RELEASE import *) 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 the bug had 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. --- src/http/ngx_http_request.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/http/ngx_http_request.h') diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index 5b2615119..f05bc1bdd 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -42,6 +42,7 @@ #define NGX_HTTP_OK 200 +#define NGX_HTTP_NO_CONTENT 204 #define NGX_HTTP_PARTIAL_CONTENT 206 #define NGX_HTTP_SPECIAL_RESPONSE 300 @@ -337,6 +338,8 @@ struct ngx_http_request_s { /* URI with "\0" or "%00" */ unsigned zero_in_uri:1; + unsigned invalid_header:1; + unsigned valid_location:1; unsigned valid_unparsed_uri:1; unsigned uri_changed:1; -- cgit v1.2.3