comparison src/http/ngx_http_request.h @ 54:bcb5fce0b038 NGINX_0_1_27

nginx 0.1.27 *) Feature: the "blocked" parameter of the "valid_referers" directive. *) Change: the errors while handling the request header now logged at "info" level. The server name and the "Host" and "Referer" header lines also logged. *) Change: the "Host" header line is also logged in error log. *) Feature: the proxy_pass_unparsed_uri directive. The special handling of the "://" symbols in URI, appeared in 0.1.11 version, now is canceled. *) Bugfix: nginx could not be built on FreeBSD and Linux, if the --without-ngx_http_auth_basic_module configuration parameter was used.
author Igor Sysoev <http://sysoev.ru>
date Mon, 28 Mar 2005 00:00:00 +0400
parents 0d75d65c642f
children 3050baa54a26
comparison
equal deleted inserted replaced
53:b6565ddf033b 54:bcb5fce0b038
30 #define NGX_HTTP_PARSE_HEADER_DONE 1 30 #define NGX_HTTP_PARSE_HEADER_DONE 1
31 31
32 #define NGX_HTTP_CLIENT_ERROR 10 32 #define NGX_HTTP_CLIENT_ERROR 10
33 #define NGX_HTTP_PARSE_INVALID_METHOD 10 33 #define NGX_HTTP_PARSE_INVALID_METHOD 10
34 #define NGX_HTTP_PARSE_INVALID_REQUEST 11 34 #define NGX_HTTP_PARSE_INVALID_REQUEST 11
35 #define NGX_HTTP_PARSE_TOO_LONG_URI 12 35 #define NGX_HTTP_PARSE_INVALID_09_METHOD 12
36 #define NGX_HTTP_PARSE_INVALID_09_METHOD 13 36
37 37 #define NGX_HTTP_PARSE_HEADER_ERROR 13
38 #define NGX_HTTP_PARSE_HEADER_ERROR 14 38 #define NGX_HTTP_PARSE_INVALID_HEADER 13
39 #define NGX_HTTP_PARSE_INVALID_HEADER 14
40 #define NGX_HTTP_PARSE_TOO_LONG_HEADER 15
41 #define NGX_HTTP_PARSE_NO_HOST_HEADER 16
42 #define NGX_HTTP_PARSE_INVALID_CL_HEADER 17
43 #define NGX_HTTP_PARSE_POST_WO_CL_HEADER 18
44
45 #define NGX_HTTP_PARSE_INVALID_HOST 19
46 #define NGX_HTTP_PARSE_HTTP_TO_HTTPS 20
47 39
48 40
49 #define NGX_HTTP_OK 200 41 #define NGX_HTTP_OK 200
50 #define NGX_HTTP_PARTIAL_CONTENT 206 42 #define NGX_HTTP_PARTIAL_CONTENT 206
51 43
336 unsigned plus_in_uri:1; 328 unsigned plus_in_uri:1;
337 329
338 /* URI with "\0" or "%00" */ 330 /* URI with "\0" or "%00" */
339 unsigned zero_in_uri:1; 331 unsigned zero_in_uri:1;
340 332
333 unsigned valid_unparsed_uri:1;
341 unsigned uri_changed:1; 334 unsigned uri_changed:1;
342 unsigned uri_changes:4; 335 unsigned uri_changes:4;
343 336
344 unsigned invalid_header:1; 337 unsigned invalid_header:1;
345 338