Mercurial > hg > nginx
diff src/event/ngx_event_pipe.c @ 441:da8c5707af39
nginx-0.1.0-2004-09-28-12:34:51 import; set copyright and remove unused files
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 28 Sep 2004 08:34:51 +0000 |
parents | 744ccb59062d |
children | 464aaa791e2b |
line wrap: on
line diff
--- a/src/event/ngx_event_pipe.c Mon Sep 27 16:03:21 2004 +0000 +++ b/src/event/ngx_event_pipe.c Tue Sep 28 08:34:51 2004 +0000 @@ -1,3 +1,8 @@ + +/* + * Copyright (C) 2002-2004 Igor Sysoev + */ + #include <ngx_config.h> #include <ngx_core.h> @@ -656,8 +661,12 @@ #if 0 b->type &= ~(NGX_HUNK_TEMP|NGX_HUNK_IN_MEMORY|NGX_HUNK_RECYCLED); #endif - b->temporary = 0; - b->recycled = 0; + b->in_file = 0; + b->temp_file = 0; + b->flush = 0; + b->zerocopy_busy = 0; + b->last_shadow = 0; + b->shadow = NULL; b = next; } @@ -669,9 +678,10 @@ |NGX_HUNK_LAST_SHADOW); #endif - b->temporary = 0; - b->recycled = 0; - b->last_shadow = 0; + b->in_file = 0; + b->temp_file = 0; + b->flush = 0; + b->zerocopy_busy = 0; b->shadow = NULL;