comparison src/core/ngx_output_chain.c @ 430:1fa5daf7558e

nginx-0.0.11-2004-09-19-22:27:00 import
author Igor Sysoev <igor@sysoev.ru>
date Sun, 19 Sep 2004 18:27:00 +0000
parents d6e2b445c1b8
children da8c5707af39
comparison
equal deleted inserted replaced
429:694cd6cdb714 430:1fa5daf7558e
65 65
66 ngx_log_error(NGX_LOG_ALERT, ctx->pool->log, 0, 66 ngx_log_error(NGX_LOG_ALERT, ctx->pool->log, 0,
67 "zero size buf"); 67 "zero size buf");
68 68
69 ctx->in = ctx->in->next; 69 ctx->in = ctx->in->next;
70
70 continue; 71 continue;
71 } 72 }
72 73
73 if (!ngx_output_chain_need_to_copy(ctx, ctx->in->buf)) { 74 if (!ngx_output_chain_need_to_copy(ctx, ctx->in->buf)) {
74 75
144 145
145 if (rc == NGX_AGAIN) { 146 if (rc == NGX_AGAIN) {
146 if (out) { 147 if (out) {
147 break; 148 break;
148 } 149 }
150
149 return rc; 151 return rc;
150 } 152 }
151 153
152 /* delete the completed buf from the ctx->in chain */ 154 /* delete the completed buf from the ctx->in chain */
153 155