diff options
Diffstat (limited to 'src/http/modules/proxy/ngx_http_proxy_handler.h')
-rw-r--r-- | src/http/modules/proxy/ngx_http_proxy_handler.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/http/modules/proxy/ngx_http_proxy_handler.h b/src/http/modules/proxy/ngx_http_proxy_handler.h index c891058f8..0f43f4f3b 100644 --- a/src/http/modules/proxy/ngx_http_proxy_handler.h +++ b/src/http/modules/proxy/ngx_http_proxy_handler.h @@ -19,6 +19,7 @@ typedef struct { typedef struct { + ssize_t request_buffer_size; ngx_msec_t connect_timeout; ngx_msec_t send_timeout; ssize_t header_buffer_size; @@ -31,6 +32,8 @@ typedef struct { ssize_t temp_file_write_size; int cyclic_temp_file; + int next_upstream; + ngx_path_t *temp_path; ngx_http_proxy_upstream_t *upstream; @@ -67,8 +70,7 @@ struct ngx_http_proxy_ctx_s { int status; ngx_str_t status_line; - ngx_chain_t *work_request_hunks; - ngx_chain_t *request_hunks; + ngx_output_chain_ctx_t *output_chain_ctx; int method; @@ -89,10 +91,16 @@ struct ngx_http_proxy_ctx_s { char *action; ngx_http_log_ctx_t *saved_ctx; + ngx_log_handler_pt saved_handler; }; #define NGX_HTTP_PROXY_PARSE_NO_HEADER 20 +#define NGX_HTTP_PROXY_FT_ERROR 1 +#define NGX_HTTP_PROXY_FT_TIMEOUT 2 +#define NGX_HTTP_PROXY_FT_HTTP_HEADER 4 +#define NGX_HTTP_PROXY_FT_HTTP_500 8 + #endif /* _NGX_HTTP_PROXY_HANDLER_H_INCLUDED_ */ |