# HG changeset patch # User Igor Sysoev # Date 1096386282 0 # Node ID 464aaa791e2b4b7c6027a1e664104c7720dc2364 # Parent da8c5707af39219683be654f6534bf14a97ef21c nginx-0.1.0-2004-09-28-19:44:42 import diff --git a/src/event/ngx_event_pipe.c b/src/event/ngx_event_pipe.c --- a/src/event/ngx_event_pipe.c +++ b/src/event/ngx_event_pipe.c @@ -658,30 +658,21 @@ ngx_inline static void ngx_event_pipe_re 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;