| #ifndef _NGX_HTTP_PROXY_HANDLER_H_INCLUDED_ |
| #define _NGX_HTTP_PROXY_HANDLER_H_INCLUDED_ |
| ngx_msec_t connect_timeout; |
| } ngx_http_proxy_loc_conf_t; |
| ngx_table_elt_t *connection; |
| ngx_table_elt_t *content_type; |
| ngx_table_elt_t *content_length; |
| ngx_table_elt_t *last_modified; |
| } ngx_http_proxy_headers_in_t; |
| typedef struct ngx_http_proxy_ctx_s ngx_http_proxy_ctx_t; |
| struct ngx_http_proxy_ctx_s { |
| ngx_peer_connection_t upstream; |
| ngx_http_request_t *request; |
| ngx_http_proxy_loc_conf_t *lcf; |
| ngx_http_proxy_headers_in_t headers_in; |
| ngx_chain_t *work_request_hunks; |
| ngx_chain_t *request_hunks; |
| /* used to parse an upstream HTTP header */ |
| #define NGX_HTTP_PROXY_PARSE_NO_HEADER 20 |
| #endif /* _NGX_HTTP_PROXY_HANDLER_H_INCLUDED_ */ |