Mercurial > hg > nginx
diff src/event/ngx_event_pipe.c @ 1565:4c43e25d11ea
fix English grammar
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 14 Oct 2007 18:56:15 +0000 |
parents | 37c3b4e62b03 |
children | 51b401063046 |
line wrap: on
line diff
--- a/src/event/ngx_event_pipe.c Wed Oct 10 13:58:47 2007 +0000 +++ b/src/event/ngx_event_pipe.c Sun Oct 14 18:56:15 2007 +0000 @@ -192,7 +192,7 @@ chain->buf = b; chain->next = NULL; - } else if (!p->cachable + } else if (!p->cacheable && p->downstream->data == p->output_ctx && p->downstream->write->ready && !p->downstream->write->delayed) @@ -209,7 +209,7 @@ break; - } else if (p->cachable + } else if (p->cacheable || p->temp_file->offset < p->max_temp_file_size) { @@ -406,7 +406,7 @@ } } - if (p->cachable && p->in) { + if (p->cacheable && p->in) { if (ngx_event_pipe_write_chain_to_temp_file(p) == NGX_ABORT) { return NGX_ABORT; } @@ -542,7 +542,7 @@ ngx_event_pipe_free_shadow_raw_buf(&p->free_raw_bufs, cl->buf); - } else if (!p->cachable && p->in) { + } else if (!p->cacheable && p->in) { cl = p->in; ngx_log_debug3(NGX_LOG_DEBUG_EVENT, p->log, 0, @@ -612,7 +612,7 @@ for (cl = p->free; cl; cl = cl->next) { if (cl->buf->temp_file) { - if (p->cachable || !p->cyclic_temp_file) { + if (p->cacheable || !p->cyclic_temp_file) { continue; } @@ -659,7 +659,7 @@ out = p->in; } - if (!p->cachable) { + if (!p->cacheable) { size = 0; cl = out;