Mercurial > hg > nginx
changeset 442:464aaa791e2b
nginx-0.1.0-2004-09-28-19:44:42 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 28 Sep 2004 15:44:42 +0000 |
parents | da8c5707af39 |
children | 33aec431094b |
files | src/event/ngx_event_pipe.c |
diffstat | 1 files changed, 2 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/src/event/ngx_event_pipe.c Tue Sep 28 08:34:51 2004 +0000 +++ b/src/event/ngx_event_pipe.c Tue Sep 28 15:44:42 2004 +0000 @@ -658,30 +658,21 @@ while (!b->last_shadow) { next = b->shadow; -#if 0 - b->type &= ~(NGX_HUNK_TEMP|NGX_HUNK_IN_MEMORY|NGX_HUNK_RECYCLED); -#endif + b->in_file = 0; b->temp_file = 0; b->flush = 0; b->zerocopy_busy = 0; - b->last_shadow = 0; b->shadow = NULL; b = next; } -#if 0 - b->type &= ~(NGX_HUNK_TEMP - |NGX_HUNK_IN_MEMORY - |NGX_HUNK_RECYCLED - |NGX_HUNK_LAST_SHADOW); -#endif - b->in_file = 0; b->temp_file = 0; b->flush = 0; b->zerocopy_busy = 0; + b->last_shadow = 0; b->shadow = NULL;