Mercurial > hg > nginx-quic
comparison 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 |
comparison
equal
deleted
inserted
replaced
440:f390d1775430 | 441:da8c5707af39 |
---|---|
1 | |
2 /* | |
3 * Copyright (C) 2002-2004 Igor Sysoev | |
4 */ | |
5 | |
1 | 6 |
2 #include <ngx_config.h> | 7 #include <ngx_config.h> |
3 #include <ngx_core.h> | 8 #include <ngx_core.h> |
4 #include <ngx_event.h> | 9 #include <ngx_event.h> |
5 #include <ngx_event_pipe.h> | 10 #include <ngx_event_pipe.h> |
654 while (!b->last_shadow) { | 659 while (!b->last_shadow) { |
655 next = b->shadow; | 660 next = b->shadow; |
656 #if 0 | 661 #if 0 |
657 b->type &= ~(NGX_HUNK_TEMP|NGX_HUNK_IN_MEMORY|NGX_HUNK_RECYCLED); | 662 b->type &= ~(NGX_HUNK_TEMP|NGX_HUNK_IN_MEMORY|NGX_HUNK_RECYCLED); |
658 #endif | 663 #endif |
659 b->temporary = 0; | 664 b->in_file = 0; |
660 b->recycled = 0; | 665 b->temp_file = 0; |
666 b->flush = 0; | |
667 b->zerocopy_busy = 0; | |
668 b->last_shadow = 0; | |
669 | |
661 b->shadow = NULL; | 670 b->shadow = NULL; |
662 b = next; | 671 b = next; |
663 } | 672 } |
664 | 673 |
665 #if 0 | 674 #if 0 |
667 |NGX_HUNK_IN_MEMORY | 676 |NGX_HUNK_IN_MEMORY |
668 |NGX_HUNK_RECYCLED | 677 |NGX_HUNK_RECYCLED |
669 |NGX_HUNK_LAST_SHADOW); | 678 |NGX_HUNK_LAST_SHADOW); |
670 #endif | 679 #endif |
671 | 680 |
672 b->temporary = 0; | 681 b->in_file = 0; |
673 b->recycled = 0; | 682 b->temp_file = 0; |
674 b->last_shadow = 0; | 683 b->flush = 0; |
684 b->zerocopy_busy = 0; | |
675 | 685 |
676 b->shadow = NULL; | 686 b->shadow = NULL; |
677 | 687 |
678 buf->shadow = NULL; | 688 buf->shadow = NULL; |
679 } | 689 } |