From 044105067d5ac2178c57b4f8f4ffa3c877381690 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 1 Aug 2003 14:56:33 +0000 Subject: nginx-0.0.1-2003-08-01-18:56:33 import --- src/http/modules/proxy/ngx_http_proxy_handler.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/http/modules/proxy/ngx_http_proxy_handler.h (limited to 'src/http/modules/proxy/ngx_http_proxy_handler.h') diff --git a/src/http/modules/proxy/ngx_http_proxy_handler.h b/src/http/modules/proxy/ngx_http_proxy_handler.h new file mode 100644 index 000000000..7f85417c4 --- /dev/null +++ b/src/http/modules/proxy/ngx_http_proxy_handler.h @@ -0,0 +1,23 @@ +#ifndef _NGX_HTTP_PROXY_HANDLER_H_INCLUDED_ +#define _NGX_HTTP_PROXY_HANDLER_H_INCLUDED_ + + +#include +#include +#include +#include + + +typedef struct ngx_http_proxy_ctx_s ngx_http_proxy_ctx_t; + +struct ngx_http_proxy_ctx_s { + ngx_peer_connection_t upstream; + ngx_peer_t *peer; + + ngx_http_request_t *request; + + char *action; +}; + + +#endif /* _NGX_HTTP_PROXY_HANDLER_H_INCLUDED_ */ -- cgit