Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-09-28 19:44:42 +0400
committerIgor Sysoev <igor@sysoev.ru>2004-09-28 19:44:42 +0400
commite0eaacd795530fa5c697594cdde4caa1e826efab (patch)
tree836dbad45aa7ce8d55a58c4cb3b567d3731b4542 /src
parentd90282d8ba69973d6612c405e52636085623ddcd (diff)
nginx-0.1.0-2004-09-28-19:44:42 import
Diffstat (limited to 'src')
-rw-r--r--src/event/ngx_event_pipe.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/event/ngx_event_pipe.c b/src/event/ngx_event_pipe.c
index 8e2094bc6..6cdcf3df2 100644
--- 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_remove_shadow_links(ngx_buf_t *buf)
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;