comparison src/http/ngx_http_request.h @ 578:bc110f60c0de NGINX_0_8_41

nginx 0.8.41 *) Security: nginx/Windows worker might be terminated abnormally if a requested file name has invalid UTF-8 encoding. *) Change: now nginx allows to use spaces in a request line. *) Bugfix: the "proxy_redirect" directive changed incorrectly a backend "Refresh" response header line. Thanks to Andrey Andreew and Max Sogin. *) Bugfix: nginx did not support path without host name in "Destination" request header line.
author Igor Sysoev <http://sysoev.ru>
date Tue, 15 Jun 2010 00:00:00 +0400
parents 7858d4f8dec4
children 4d3e880ce86c
comparison
equal deleted inserted replaced
577:dd4c3325a56f 578:bc110f60c0de
35 #define NGX_HTTP_OPTIONS 0x0200 35 #define NGX_HTTP_OPTIONS 0x0200
36 #define NGX_HTTP_PROPFIND 0x0400 36 #define NGX_HTTP_PROPFIND 0x0400
37 #define NGX_HTTP_PROPPATCH 0x0800 37 #define NGX_HTTP_PROPPATCH 0x0800
38 #define NGX_HTTP_LOCK 0x1000 38 #define NGX_HTTP_LOCK 0x1000
39 #define NGX_HTTP_UNLOCK 0x2000 39 #define NGX_HTTP_UNLOCK 0x2000
40 #define NGX_HTTP_TRACE 0x4000 40 #define NGX_HTTP_PATCH 0x4000
41 #define NGX_HTTP_TRACE 0x8000
41 42
42 #define NGX_HTTP_CONNECTION_CLOSE 1 43 #define NGX_HTTP_CONNECTION_CLOSE 1
43 #define NGX_HTTP_CONNECTION_KEEP_ALIVE 2 44 #define NGX_HTTP_CONNECTION_KEEP_ALIVE 2
44 45
45 46
62 #define NGX_HTTP_LOG_UNSAFE 8 63 #define NGX_HTTP_LOG_UNSAFE 8
63 64
64 65
65 #define NGX_HTTP_OK 200 66 #define NGX_HTTP_OK 200
66 #define NGX_HTTP_CREATED 201 67 #define NGX_HTTP_CREATED 201
68 #define NGX_HTTP_ACCEPTED 202
67 #define NGX_HTTP_NO_CONTENT 204 69 #define NGX_HTTP_NO_CONTENT 204
68 #define NGX_HTTP_PARTIAL_CONTENT 206 70 #define NGX_HTTP_PARTIAL_CONTENT 206
69 71
70 #define NGX_HTTP_SPECIAL_RESPONSE 300 72 #define NGX_HTTP_SPECIAL_RESPONSE 300
71 #define NGX_HTTP_MOVED_PERMANENTLY 301 73 #define NGX_HTTP_MOVED_PERMANENTLY 301
432 /* URI with "%" */ 434 /* URI with "%" */
433 unsigned quoted_uri:1; 435 unsigned quoted_uri:1;
434 436
435 /* URI with "+" */ 437 /* URI with "+" */
436 unsigned plus_in_uri:1; 438 unsigned plus_in_uri:1;
439
440 /* URI with " " */
441 unsigned space_in_uri:1;
437 442
438 unsigned invalid_header:1; 443 unsigned invalid_header:1;
439 444
440 unsigned add_uri_to_alias:1; 445 unsigned add_uri_to_alias:1;
441 unsigned valid_location:1; 446 unsigned valid_location:1;