Mercurial > hg > nginx
comparison src/event/ngx_event_pipe.c @ 194:2357fa41738a
nginx-0.0.1-2003-11-21-09:30:49 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 21 Nov 2003 06:30:49 +0000 |
parents | c966c09be66b |
children | 70e1c7d2b83d |
comparison
equal
deleted
inserted
replaced
193:dd66383796a5 | 194:2357fa41738a |
---|---|
17 static int ngx_event_pipe_drain_chains(ngx_event_pipe_t *p); | 17 static int ngx_event_pipe_drain_chains(ngx_event_pipe_t *p); |
18 | 18 |
19 | 19 |
20 int ngx_event_pipe(ngx_event_pipe_t *p, int do_write) | 20 int ngx_event_pipe(ngx_event_pipe_t *p, int do_write) |
21 { | 21 { |
22 int flags; | 22 u_int flags; |
23 ngx_event_t *rev, *wev; | 23 ngx_event_t *rev, *wev; |
24 | 24 |
25 for ( ;; ) { | 25 for ( ;; ) { |
26 if (do_write) { | 26 if (do_write) { |
27 if (ngx_event_pipe_write_to_downstream(p) == NGX_ABORT) { | 27 if (ngx_event_pipe_write_to_downstream(p) == NGX_ABORT) { |