Mercurial > hg > nginx-quic
diff src/http/modules/proxy/ngx_http_proxy_handler.h @ 124:842a78cebbb7
nginx-0.0.1-2003-08-01-18:56:33 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 01 Aug 2003 14:56:33 +0000 |
parents | |
children | 049e78b1f852 |
line wrap: on
line diff
new file mode 100644 --- /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 <ngx_config.h> +#include <ngx_core.h> +#include <ngx_event.h> +#include <ngx_http.h> + + +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_ */