comparison src/http/modules/proxy/ngx_http_event_proxy_handler.h @ 75:869b10be682f

nginx-0.0.1-2003-04-14-21:04:58 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 14 Apr 2003 17:04:58 +0000
parents 17ab1af8c3dd
children 6127d7075471
comparison
equal deleted inserted replaced
74:17ab1af8c3dd 75:869b10be682f
2 #define _NGX_HTTP_PROXY_HANDLER_H_INCLUDED_ 2 #define _NGX_HTTP_PROXY_HANDLER_H_INCLUDED_
3 3
4 4
5 #include <ngx_config.h> 5 #include <ngx_config.h>
6 #include <ngx_array.h> 6 #include <ngx_array.h>
7 #include <ngx_event_proxy.h>
7 #include <ngx_http.h> 8 #include <ngx_http.h>
8 9
9 10
10 #define NGX_HTTP_PROXY_PARSE_NO_HEADER 20 11 #define NGX_HTTP_PROXY_PARSE_NO_HEADER 20
11 #define NGX_HTTP_PARSE_TOO_LONG_STATUS_LINE 21 12 #define NGX_HTTP_PARSE_TOO_LONG_STATUS_LINE 21
68 int header_size; 69 int header_size;
69 int large_header; 70 int large_header;
70 71
71 int block_size; 72 int block_size;
72 int max_block_size; 73 int max_block_size;
74 int file_block_size;
73 75
74 ngx_path_t *temp_path; 76 ngx_path_t *temp_path;
75 int temp_file_warn; 77 int temp_file_warn;
76 78
77 int retry_500_error; 79 int retry_500_error;
92 94
93 95
94 typedef struct ngx_http_proxy_ctx_s ngx_http_proxy_ctx_t; 96 typedef struct ngx_http_proxy_ctx_s ngx_http_proxy_ctx_t;
95 97
96 struct ngx_http_proxy_ctx_s { 98 struct ngx_http_proxy_ctx_s {
99 ngx_event_proxy_t *event_proxy;
100
97 ngx_chain_t *in_hunks; 101 ngx_chain_t *in_hunks;
98 ngx_chain_t *last_in_hunk; 102 ngx_chain_t *last_in_hunk;
103
104 ngx_chain_t *shadow_hunks;
99 105
100 ngx_chain_t *out_hunks; 106 ngx_chain_t *out_hunks;
101 ngx_chain_t *last_out_hunk; 107 ngx_chain_t *last_out_hunk;
102 108
103 ngx_chain_t *free_hunks; 109 ngx_chain_t *free_hunks;