Mercurial > hg > nginx
comparison src/http/ngx_http.h @ 12:055ed05235ae
nginx-0.0.1-2002-09-13-18:47:42 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 13 Sep 2002 14:47:42 +0000 |
parents | f323b4f74e4a |
children | 2aba961a1d34 |
comparison
equal
deleted
inserted
replaced
11:f323b4f74e4a | 12:055ed05235ae |
---|---|
16 | 16 |
17 #define NGX_HTTP_CONN_CLOSE 0 | 17 #define NGX_HTTP_CONN_CLOSE 0 |
18 #define NGX_HTTP_CONN_KEEP_ALIVE 1 | 18 #define NGX_HTTP_CONN_KEEP_ALIVE 1 |
19 | 19 |
20 | 20 |
21 #define NGX_HTTP_HEADER_DONE 1 | 21 #define NGX_HTTP_PARSE_HEADER_DONE 1 |
22 #define NGX_HTTP_INVALID_METHOD 10 | 22 #define NGX_HTTP_PARSE_INVALID_METHOD 10 |
23 #define NGX_HTTP_INVALID_REQUEST 11 | 23 #define NGX_HTTP_PARSE_INVALID_REQUEST 11 |
24 #define NGX_HTTP_INVALID_HEAD 12 | 24 #define NGX_HTTP_PARSE_TOO_LONG_URI 12 |
25 #define NGX_HTTP_INVALID_HEADER 13 | 25 #define NGX_HTTP_PARSE_INVALID_HEAD 13 |
26 #define NGX_HTTP_PARSE_INVALID_HEADER 14 | |
26 | 27 |
27 | 28 |
28 #define NGX_HTTP_OK 200 | 29 #define NGX_HTTP_OK 200 |
29 #define NGX_HTTP_SPECIAL_RESPONSE 300 | 30 #define NGX_HTTP_SPECIAL_RESPONSE 300 |
30 #define NGX_HTTP_MOVED_PERMANENTLY 302 | 31 #define NGX_HTTP_MOVED_PERMANENTLY 302 |
31 #define NGX_HTTP_BAD_REQUEST 400 | 32 #define NGX_HTTP_BAD_REQUEST 400 |
32 #define NGX_HTTP_NOT_FOUND 404 | 33 #define NGX_HTTP_NOT_FOUND 404 |
34 #define NGX_HTTP_REQUEST_URI_TOO_LARGE 414 | |
33 #define NGX_HTTP_INTERNAL_SERVER_ERROR 503 | 35 #define NGX_HTTP_INTERNAL_SERVER_ERROR 503 |
34 | 36 |
35 | 37 |
36 #define NGX_HTTP_STATIC_HANDLER 0 | 38 #define NGX_HTTP_STATIC_HANDLER 0 |
37 #define NGX_HTTP_DIRECTORY_HANDLER 1 | 39 #define NGX_HTTP_DIRECTORY_HANDLER 1 |
114 char *discarded_buffer; | 116 char *discarded_buffer; |
115 | 117 |
116 unsigned keepalive:1; | 118 unsigned keepalive:1; |
117 unsigned lingering_close:1; | 119 unsigned lingering_close:1; |
118 | 120 |
121 unsigned process_header:1; | |
119 unsigned header_timeout:1; | 122 unsigned header_timeout:1; |
120 unsigned process_header:1; | 123 |
124 unsigned logging:1; | |
121 | 125 |
122 unsigned header_only:1; | 126 unsigned header_only:1; |
123 unsigned unusual_uri:1; | 127 unsigned unusual_uri:1; |
124 unsigned complex_uri:1; | 128 unsigned complex_uri:1; |
125 | 129 |