summaryrefslogtreecommitdiffhomepage
path: root/src/event/ngx_event_pipe.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-09-28 08:34:51 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-09-28 08:34:51 +0000
commitd90282d8ba69973d6612c405e52636085623ddcd (patch)
tree59e36e780b2f5b8f9348013d3037f8fc06ba0247 /src/event/ngx_event_pipe.c
parent6d2a14aa906b1d576d5151b2410b59cfcab5edd4 (diff)
downloadnginx-d90282d8ba69973d6612c405e52636085623ddcd.tar.gz
nginx-d90282d8ba69973d6612c405e52636085623ddcd.tar.bz2
nginx-0.1.0-2004-09-28-12:34:51 import; set copyright and remove unused files
Diffstat (limited to '')
-rw-r--r--src/event/ngx_event_pipe.c20
1 files changed, 15 insertions, 5 deletions
diff --git a/src/event/ngx_event_pipe.c b/src/event/ngx_event_pipe.c
index e324a230a..8e2094bc6 100644
--- a/src/event/ngx_event_pipe.c
+++ b/src/event/ngx_event_pipe.c
@@ -1,4 +1,9 @@
+/*
+ * Copyright (C) 2002-2004 Igor Sysoev
+ */
+
+
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_event.h>
@@ -656,8 +661,12 @@ ngx_inline static void ngx_event_pipe_remove_shadow_links(ngx_buf_t *buf)
#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_inline static void ngx_event_pipe_remove_shadow_links(ngx_buf_t *buf)
|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;