Mercurial > hg > nginx
comparison src/event/ngx_event_pipe.h @ 154:eac26585476e
nginx-0.0.1-2003-10-22-11:05:29 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 22 Oct 2003 07:05:29 +0000 |
parents | c71aeb75c071 |
children | 46eb23d9471d |
comparison
equal
deleted
inserted
replaced
153:c71aeb75c071 | 154:eac26585476e |
---|---|
37 void *output_ctx; | 37 void *output_ctx; |
38 | 38 |
39 unsigned read:1; | 39 unsigned read:1; |
40 unsigned cachable:1; | 40 unsigned cachable:1; |
41 unsigned upstream_done:1; | 41 unsigned upstream_done:1; |
42 unsigned upstream_error:1; | |
42 unsigned upstream_eof:1; | 43 unsigned upstream_eof:1; |
43 unsigned upstream_error:1; | 44 unsigned upstream_blocked:1; |
44 unsigned downstream_done:1; | 45 unsigned downstream_done:1; |
45 unsigned downstream_error:1; | 46 unsigned downstream_error:1; |
47 unsigned cyclic_temp_file:1; | |
46 | 48 |
47 int hunks; | 49 int hunks; |
48 ngx_bufs_t bufs; | 50 ngx_bufs_t bufs; |
51 ngx_hunk_tag_t tag; | |
49 | 52 |
50 size_t max_busy_len; | 53 size_t max_busy_len; |
51 | 54 |
52 off_t temp_offset; | 55 off_t temp_offset; |
53 off_t max_temp_file_size; | 56 off_t max_temp_file_size; |
63 int preread_size; | 66 int preread_size; |
64 | 67 |
65 ngx_file_t *temp_file; | 68 ngx_file_t *temp_file; |
66 ngx_path_t *temp_path; | 69 ngx_path_t *temp_path; |
67 char *temp_file_warn; | 70 char *temp_file_warn; |
71 /* STUB */ int num; | |
68 }; | 72 }; |
69 | 73 |
70 | 74 |
71 int ngx_event_pipe(ngx_event_pipe_t *p, int do_write); | 75 int ngx_event_pipe(ngx_event_pipe_t *p, int do_write); |
72 int ngx_event_pipe_copy_input_filter(ngx_event_pipe_t *p, ngx_hunk_t *hunk); | 76 int ngx_event_pipe_copy_input_filter(ngx_event_pipe_t *p, ngx_hunk_t *hunk); |