diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-03-11 20:38:13 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-03-11 20:38:13 +0000 |
commit | b738757f359a79b346bcc40895ed0a5ca697e8e2 (patch) | |
tree | 517f3cdbf30667c5183ba06f4d895acc78a308bf /src/http/modules/ngx_http_event_proxy_handler.h | |
parent | 0dad629f63e6bb8bc61314ba0c0aed5412353947 (diff) | |
download | nginx-b738757f359a79b346bcc40895ed0a5ca697e8e2.tar.gz nginx-b738757f359a79b346bcc40895ed0a5ca697e8e2.zip |
nginx-0.0.1-2003-03-11-23:38:13 import
Diffstat (limited to 'src/http/modules/ngx_http_event_proxy_handler.h')
-rw-r--r-- | src/http/modules/ngx_http_event_proxy_handler.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_event_proxy_handler.h b/src/http/modules/ngx_http_event_proxy_handler.h index b5b480a00..0a438044a 100644 --- a/src/http/modules/ngx_http_event_proxy_handler.h +++ b/src/http/modules/ngx_http_event_proxy_handler.h @@ -14,6 +14,12 @@ typedef struct { int dummy; } ngx_http_proxy_headers_in_t; + +typedef struct { + int large_header; +} ngx_http_proxy_loc_conf_t; + + typedef struct ngx_http_proxy_ctx_s ngx_http_proxy_ctx_t; struct ngx_http_proxy_ctx_s { @@ -24,6 +30,7 @@ struct ngx_http_proxy_ctx_s { int hunk_n; + ngx_connection_t *connection; ngx_http_proxy_headers_in_t *headers_in; ngx_hunk_t *header_in; @@ -36,7 +43,11 @@ struct ngx_http_proxy_ctx_s { }; -extern ngx_http_module_t ngx_http_proxy_module; +extern ngx_module_t ngx_http_proxy_module; + + +static int ngx_http_proxy_error(ngx_http_request_t *r, ngx_http_proxy_ctx_t *p, + int error); #endif /* _NGX_HTTP_PROXY_HANDLER_H_INCLUDED_ */ |