diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-04-11 16:01:14 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-04-11 16:01:14 +0000 |
commit | fd67586ef670a2ed181bb19d60619714f404aacc (patch) | |
tree | f13d1535caa6ff13d512d71ba8d1003c75f47cb8 /src/http/modules/proxy/ngx_http_event_proxy_handler.h | |
parent | cde2478a8540b19d4c9f5077fae23803889ed393 (diff) | |
download | nginx-fd67586ef670a2ed181bb19d60619714f404aacc.tar.gz nginx-fd67586ef670a2ed181bb19d60619714f404aacc.zip |
nginx-0.0.1-2003-04-11-20:01:14 import
Diffstat (limited to 'src/http/modules/proxy/ngx_http_event_proxy_handler.h')
-rw-r--r-- | src/http/modules/proxy/ngx_http_event_proxy_handler.h | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/src/http/modules/proxy/ngx_http_event_proxy_handler.h b/src/http/modules/proxy/ngx_http_event_proxy_handler.h index e1fb15412..92840d013 100644 --- 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,18 +94,33 @@ 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; - int last_hunk; - ngx_array_t hunks; - int nhunks; + ngx_chain_t *out_hunks; + ngx_chain_t *last_out_hunk; - int hunk_n; + 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; + int nhunks; + + int hunk_n; + ngx_http_proxy_upstream_url_t *upstream_url; ngx_http_proxy_upstreams_t *upstreams; int cur_upstream; |