comparison src/http/ngx_http_request.h @ 395:f8f0f1834266

nginx-0.0.7-2004-07-16-21:11:43 import
author Igor Sysoev <igor@sysoev.ru>
date Fri, 16 Jul 2004 17:11:43 +0000
parents 5659d773cfa8
children 6f3b20c1ac50
comparison
equal deleted inserted replaced
394:e7a68e14ccd3 395:f8f0f1834266
29 #define NGX_HTTP_PARSE_INVALID_HEADER 14 29 #define NGX_HTTP_PARSE_INVALID_HEADER 14
30 #define NGX_HTTP_PARSE_TOO_LONG_HEADER 15 30 #define NGX_HTTP_PARSE_TOO_LONG_HEADER 15
31 #define NGX_HTTP_PARSE_NO_HOST_HEADER 16 31 #define NGX_HTTP_PARSE_NO_HOST_HEADER 16
32 #define NGX_HTTP_PARSE_INVALID_CL_HEADER 17 32 #define NGX_HTTP_PARSE_INVALID_CL_HEADER 17
33 #define NGX_HTTP_PARSE_POST_WO_CL_HEADER 18 33 #define NGX_HTTP_PARSE_POST_WO_CL_HEADER 18
34 #define NGX_HTTP_PARSE_INVALID_HOST 19 34 #define NGX_HTTP_PARSE_HTTP_TO_HTTPS 19
35 #define NGX_HTTP_PARSE_INVALID_HOST 20
35 36
36 37
37 #define NGX_HTTP_OK 200 38 #define NGX_HTTP_OK 200
38 #define NGX_HTTP_PARTIAL_CONTENT 206 39 #define NGX_HTTP_PARTIAL_CONTENT 206
39 40
215 struct ngx_http_request_s { 216 struct ngx_http_request_s {
216 uint32_t signature; /* "HTTP" */ 217 uint32_t signature; /* "HTTP" */
217 218
218 ngx_connection_t *connection; 219 ngx_connection_t *connection;
219 220
221 ngx_recv_pt recv;
222 ngx_send_chain_pt send_chain;
223
220 void **ctx; 224 void **ctx;
221 void **main_conf; 225 void **main_conf;
222 void **srv_conf; 226 void **srv_conf;
223 void **loc_conf; 227 void **loc_conf;
224 228
290 unsigned pipeline:1; 294 unsigned pipeline:1;
291 295
292 /* can we use sendfile ? */ 296 /* can we use sendfile ? */
293 unsigned sendfile:1; 297 unsigned sendfile:1;
294 298
299 unsigned plain_http:1;
295 unsigned chunked:1; 300 unsigned chunked:1;
296 unsigned header_only:1; 301 unsigned header_only:1;
297 unsigned keepalive:1; 302 unsigned keepalive:1;
298 unsigned lingering_close:1; 303 unsigned lingering_close:1;
299 unsigned closed:1; 304 unsigned closed:1;