comparison src/event/ngx_event_pipe.h @ 187:5a9bbe99008b

nginx-0.0.1-2003-11-17-19:15:03 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 17 Nov 2003 16:15:03 +0000
parents e92c2c647c57
children 6bdf858bff8c
comparison
equal deleted inserted replaced
186:c1f3a3c7c5db 187:5a9bbe99008b
13 ngx_hunk_t *hunk); 13 ngx_hunk_t *hunk);
14 typedef int (*ngx_event_pipe_output_filter_pt)(void *data, ngx_chain_t *chain); 14 typedef int (*ngx_event_pipe_output_filter_pt)(void *data, ngx_chain_t *chain);
15 15
16 16
17 struct ngx_event_pipe_s { 17 struct ngx_event_pipe_s {
18 ngx_connection_t *upstream;
19 ngx_connection_t *downstream;
20
18 ngx_chain_t *free_raw_hunks; 21 ngx_chain_t *free_raw_hunks;
19 ngx_chain_t *in; 22 ngx_chain_t *in;
20 ngx_chain_t **last_in; 23 ngx_chain_t **last_in;
21 24
22 ngx_chain_t *out; 25 ngx_chain_t *out;
57 off_t read_length; 60 off_t read_length;
58 61
59 off_t max_temp_file_size; 62 off_t max_temp_file_size;
60 int temp_file_write_size; 63 int temp_file_write_size;
61 64
62 ngx_connection_t *upstream;
63 ngx_connection_t *downstream;
64
65 ngx_msec_t read_timeout; 65 ngx_msec_t read_timeout;
66 ngx_msec_t send_timeout; 66 ngx_msec_t send_timeout;
67 ssize_t send_lowat; 67 ssize_t send_lowat;
68 68
69 ngx_pool_t *pool; 69 ngx_pool_t *pool;
70 ngx_log_t *log; 70 ngx_log_t *log;
71 71
72 ngx_chain_t *preread_hunks; 72 ngx_chain_t *preread_hunks;
73 int preread_size; 73 int preread_size;
74 ngx_hunk_t *hunk_to_file;
74 75
75 ngx_temp_file_t *temp_file; 76 ngx_temp_file_t *temp_file;
76 77
77 /* STUB */ int num; 78 /* STUB */ int num;
78 }; 79 };