diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-11-28 17:41:47 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-11-28 17:41:47 +0000 |
commit | c2bba092eb07ea5fcd2e2ee987e3a304f755a3c7 (patch) | |
tree | d2c80489d1fe646f689966411fc8659355acbd40 /src/http/ngx_http_request.h | |
parent | 877df63f345e48bc2cb61dde86a207748051b81a (diff) | |
download | nginx-c2bba092eb07ea5fcd2e2ee987e3a304f755a3c7.tar.gz nginx-c2bba092eb07ea5fcd2e2ee987e3a304f755a3c7.zip |
nginx-0.0.1-2003-11-28-20:41:47 import
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r-- | src/http/ngx_http_request.h | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index 3b62d58e7..08afcd53e 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -144,17 +144,34 @@ typedef struct { } ngx_http_headers_out_t; +typedef struct { + union { + struct { + ngx_fd_t fd; + char *name; + } file; + + struct { + ngx_http_cache_hash_t *hash; + ngx_http_cache_t *cache; + } cache; + } data; + + unsigned cache:1; +} ngx_http_cleanup_t; + + typedef int (*ngx_http_handler_pt)(ngx_http_request_t *r); struct ngx_http_request_s { - ngx_connection_t *connection; + ngx_connection_t *connection; - void **ctx; - void **main_conf; - void **srv_conf; - void **loc_conf; + void **ctx; + void **main_conf; + void **srv_conf; + void **loc_conf; - ngx_http_cache_t *cache; + ngx_http_cache_t *cache; ngx_file_t file; @@ -199,6 +216,8 @@ struct ngx_http_request_s { void (*request_body_handler) (void *data); void *data; + ngx_array_t cleanup; + char *discarded_buffer; void **err_ctx; int err_status; |