Mercurial > hg > nginx
comparison src/http/ngx_http_output_filter.c @ 135:e29909bd9b8a
nginx-0.0.1-2003-09-28-23:29:06 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 28 Sep 2003 19:29:06 +0000 |
parents | cd54bcbaf3b5 |
children | 656d468f4ead |
comparison
equal
deleted
inserted
replaced
134:d57c6835225c | 135:e29909bd9b8a |
---|---|
149 if (rc == NGX_ERROR || rc == NGX_AGAIN) { | 149 if (rc == NGX_ERROR || rc == NGX_AGAIN) { |
150 return rc; | 150 return rc; |
151 } | 151 } |
152 | 152 |
153 /* NGX_OK */ | 153 /* NGX_OK */ |
154 #if 1 | |
154 /* set our hunk free */ | 155 /* set our hunk free */ |
155 ctx->hunk->pos = ctx->hunk->last = ctx->hunk->start; | 156 ctx->hunk->pos = ctx->hunk->last = ctx->hunk->start; |
157 #endif | |
156 } | 158 } |
157 | 159 |
158 #if (NGX_SUPPRESS_WARN) | 160 #if (NGX_SUPPRESS_WARN) |
159 le = NULL; | 161 le = NULL; |
160 #endif | 162 #endif |
223 if (rc == NGX_ERROR || rc == NGX_AGAIN) { | 225 if (rc == NGX_ERROR || rc == NGX_AGAIN) { |
224 return rc; | 226 return rc; |
225 } | 227 } |
226 | 228 |
227 /* NGX_OK */ | 229 /* NGX_OK */ |
230 #if 1 | |
228 /* set our hunk free */ | 231 /* set our hunk free */ |
229 ctx->hunk->pos = ctx->hunk->last = ctx->hunk->start; | 232 ctx->hunk->pos = ctx->hunk->last = ctx->hunk->start; |
233 #endif | |
230 | 234 |
231 /* repeat until we will have copied the whole first hunk from | 235 /* repeat until we will have copied the whole first hunk from |
232 the chain ctx->incoming */ | 236 the chain ctx->incoming */ |
233 | 237 |
234 } while (size); | 238 } while (size); |