comparison src/http/ngx_http_request.h @ 432:11362a3e3911

nginx-0.0.11-2004-09-21-09:38:28 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 21 Sep 2004 05:38:28 +0000
parents 694cd6cdb714
children 9a97dcdd2421
comparison
equal deleted inserted replaced
431:358bbd2561b5 432:11362a3e3911
215 unsigned valid:1; 215 unsigned valid:1;
216 unsigned cache:1; 216 unsigned cache:1;
217 }; 217 };
218 218
219 219
220 typedef struct {
221 ngx_http_request_t *request;
222 ngx_array_t large_buffers;
223 ngx_uint_t pipeline; /* unsigned pipeline:1; */
224 } ngx_http_connection_t;
225
226
220 typedef ngx_int_t (*ngx_http_handler_pt)(ngx_http_request_t *r); 227 typedef ngx_int_t (*ngx_http_handler_pt)(ngx_http_request_t *r);
221 228
222 struct ngx_http_request_s { 229 struct ngx_http_request_s {
223 uint32_t signature; /* "HTTP" */ 230 uint32_t signature; /* "HTTP" */
224 231
274 size_t header_size; 281 size_t header_size;
275 282
276 u_char *discarded_buffer; 283 u_char *discarded_buffer;
277 void **err_ctx; 284 void **err_ctx;
278 ngx_uint_t err_status; 285 ngx_uint_t err_status;
286
287 ngx_http_connection_t *http_connection;
279 288
280 unsigned http_state:4; 289 unsigned http_state:4;
281 290
282 #if 0 291 #if 0
283 /* URI is not started with '/' - "GET http://" */ 292 /* URI is not started with '/' - "GET http://" */