comparison src/http/modules/proxy/ngx_http_proxy_handler.h @ 131:049e78b1f852

nginx-0.0.1-2003-08-14-10:00:28 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 14 Aug 2003 06:00:28 +0000
parents 842a78cebbb7
children da00cde00e8a
comparison
equal deleted inserted replaced
130:a490ad05164d 131:049e78b1f852
6 #include <ngx_core.h> 6 #include <ngx_core.h>
7 #include <ngx_event.h> 7 #include <ngx_event.h>
8 #include <ngx_http.h> 8 #include <ngx_http.h>
9 9
10 10
11 typedef struct {
12 ngx_msec_t send_timeout;
13 ngx_peers_t *peers;
14 } ngx_http_proxy_loc_conf_t;
15
16
11 typedef struct ngx_http_proxy_ctx_s ngx_http_proxy_ctx_t; 17 typedef struct ngx_http_proxy_ctx_s ngx_http_proxy_ctx_t;
12 18
13 struct ngx_http_proxy_ctx_s { 19 struct ngx_http_proxy_ctx_s {
14 ngx_peer_connection_t upstream; 20 ngx_peer_connection_t upstream;
15 ngx_peer_t *peer; 21 ngx_peer_t *peer;
16 22
17 ngx_http_request_t *request; 23 ngx_connection_t *connection;
18 24
19 char *action; 25 ngx_http_request_t *request;
26
27 ngx_http_proxy_loc_conf_t *lcf;
28
29 ngx_chain_t *request_hunks;
30
31 char *action;
20 }; 32 };
21 33
22 34
23 #endif /* _NGX_HTTP_PROXY_HANDLER_H_INCLUDED_ */ 35 #endif /* _NGX_HTTP_PROXY_HANDLER_H_INCLUDED_ */