aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/proxy/ngx_http_proxy_handler.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-10-24 16:10:38 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-10-24 16:10:38 +0000
commit6414b96ebc50f42bf878aa84839921ab0aa9f4df (patch)
tree145c6488055c4f703eb8e326064ccb85b526935f /src/http/modules/proxy/ngx_http_proxy_handler.h
parent12b4b00784bbc3cd934e2f2bbee79679684629e3 (diff)
downloadnginx-6414b96ebc50f42bf878aa84839921ab0aa9f4df.tar.gz
nginx-6414b96ebc50f42bf878aa84839921ab0aa9f4df.zip
nginx-0.0.1-2003-10-24-20:10:38 import
Diffstat (limited to 'src/http/modules/proxy/ngx_http_proxy_handler.h')
-rw-r--r--src/http/modules/proxy/ngx_http_proxy_handler.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/http/modules/proxy/ngx_http_proxy_handler.h b/src/http/modules/proxy/ngx_http_proxy_handler.h
index ea33083a3..c891058f8 100644
--- a/src/http/modules/proxy/ngx_http_proxy_handler.h
+++ b/src/http/modules/proxy/ngx_http_proxy_handler.h
@@ -11,9 +11,9 @@
typedef struct {
ngx_str_t host;
ngx_str_t uri;
- ngx_str_t *location;
ngx_str_t host_header;
ngx_str_t port_text;
+ ngx_str_t *location;
int port;
} ngx_http_proxy_upstream_t;
@@ -71,14 +71,14 @@ struct ngx_http_proxy_ctx_s {
ngx_chain_t *request_hunks;
int method;
- ngx_str_t uri;
- int location_len;
ngx_event_pipe_t *event_pipe;
unsigned accel:1;
unsigned cachable:1;
unsigned fatal_error:1;
+ unsigned request_sent:1;
+ unsigned timedout:1;
unsigned header_sent:1;
/* used to parse an upstream HTTP header */
@@ -88,6 +88,7 @@ struct ngx_http_proxy_ctx_s {
int state;
char *action;
+ ngx_http_log_ctx_t *saved_ctx;
};