Mercurial > hg > nginx
comparison src/core/ngx_hunk.c @ 153:c71aeb75c071
nginx-0.0.1-2003-10-21-20:49:56 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 21 Oct 2003 16:49:56 +0000 |
parents | 2d9e4a8b6d11 |
children | eac26585476e |
comparison
equal
deleted
inserted
replaced
152:fb48bf4fea1c | 153:c71aeb75c071 |
---|---|
145 | 145 |
146 while (*busy) { | 146 while (*busy) { |
147 if (ngx_hunk_size((*busy)->hunk) > 0) { | 147 if (ngx_hunk_size((*busy)->hunk) > 0) { |
148 break; | 148 break; |
149 } | 149 } |
150 #if 0 | |
151 if ((*busy)->hunk->type & NGX_HUNK_IN_MEMORY) { | |
152 if ((*busy)->hunk->pos != (*busy)->hunk->last) { | |
153 break; | |
154 } | |
155 | |
156 } else { | |
157 if ((*busy)->hunk->file_pos != (*busy)->hunk->file_last) { | |
158 break; | |
159 } | |
160 } | |
161 #endif | |
162 | 150 |
163 #if (HAVE_WRITE_ZEROCOPY) | 151 #if (HAVE_WRITE_ZEROCOPY) |
164 if ((*busy)->hunk->type & NGX_HUNK_ZEROCOPY_BUSY) { | 152 if ((*busy)->hunk->type & NGX_HUNK_ZEROCOPY_BUSY) { |
165 break; | 153 break; |
166 } | 154 } |