Mercurial > hg > nginx-quic
diff src/http/modules/proxy/ngx_http_event_proxy_handler.h @ 74:17ab1af8c3dd
nginx-0.0.1-2003-04-11-20:01:14 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 11 Apr 2003 16:01:14 +0000 |
parents | 66de3f065886 |
children | 869b10be682f |
line wrap: on
line diff
--- a/src/http/modules/proxy/ngx_http_event_proxy_handler.h +++ b/src/http/modules/proxy/ngx_http_event_proxy_handler.h @@ -71,6 +71,9 @@ typedef struct { int block_size; int max_block_size; + ngx_path_t *temp_path; + int temp_file_warn; + int retry_500_error; } ngx_http_proxy_loc_conf_t; @@ -91,7 +94,26 @@ typedef struct { typedef struct ngx_http_proxy_ctx_s ngx_http_proxy_ctx_t; struct ngx_http_proxy_ctx_s { - ngx_chain_t *out; + ngx_chain_t *in_hunks; + ngx_chain_t *last_in_hunk; + + ngx_chain_t *out_hunks; + ngx_chain_t *last_out_hunk; + + ngx_chain_t *free_hunks; + + ngx_chain_t *request_hunks; + + ngx_connection_t *connection; + ngx_http_request_t *request; + ngx_http_proxy_headers_in_t headers_in; + + + int block_size; + int allocated; + + ngx_file_t *temp_file; + off_t temp_offset; int last_hunk; ngx_array_t hunks; @@ -99,10 +121,6 @@ struct ngx_http_proxy_ctx_s { int hunk_n; - ngx_connection_t *connection; - ngx_http_request_t *request; - ngx_http_proxy_headers_in_t headers_in; - ngx_http_proxy_upstream_url_t *upstream_url; ngx_http_proxy_upstreams_t *upstreams; int cur_upstream;