comparison src/http/ngx_http_request.h @ 511:c12967aadd87 release-0.1.30

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.
author Igor Sysoev <igor@sysoev.ru>
date Sat, 14 May 2005 18:42:03 +0000
parents 9b8c906f6e63
children fbbf16224844
comparison
equal deleted inserted replaced
510:3e9296472a39 511:c12967aadd87
40 #define NGX_HTTP_PARSE_HEADER_ERROR 13 40 #define NGX_HTTP_PARSE_HEADER_ERROR 13
41 #define NGX_HTTP_PARSE_INVALID_HEADER 13 41 #define NGX_HTTP_PARSE_INVALID_HEADER 13
42 42
43 43
44 #define NGX_HTTP_OK 200 44 #define NGX_HTTP_OK 200
45 #define NGX_HTTP_NO_CONTENT 204
45 #define NGX_HTTP_PARTIAL_CONTENT 206 46 #define NGX_HTTP_PARTIAL_CONTENT 206
46 47
47 #define NGX_HTTP_SPECIAL_RESPONSE 300 48 #define NGX_HTTP_SPECIAL_RESPONSE 300
48 #define NGX_HTTP_MOVED_PERMANENTLY 301 49 #define NGX_HTTP_MOVED_PERMANENTLY 301
49 #define NGX_HTTP_MOVED_TEMPORARILY 302 50 #define NGX_HTTP_MOVED_TEMPORARILY 302
334 /* URI with "+" */ 335 /* URI with "+" */
335 unsigned plus_in_uri:1; 336 unsigned plus_in_uri:1;
336 337
337 /* URI with "\0" or "%00" */ 338 /* URI with "\0" or "%00" */
338 unsigned zero_in_uri:1; 339 unsigned zero_in_uri:1;
340
341 unsigned invalid_header:1;
339 342
340 unsigned valid_location:1; 343 unsigned valid_location:1;
341 unsigned valid_unparsed_uri:1; 344 unsigned valid_unparsed_uri:1;
342 unsigned uri_changed:1; 345 unsigned uri_changed:1;
343 unsigned uri_changes:4; 346 unsigned uri_changes:4;