comparison src/http/ngx_http_request.h @ 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 0790a8599248
comparison
equal deleted inserted replaced
59:4cb463ba8cce 60:df7d3fff122b
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;