Mercurial > hg > nginx
diff src/http/ngx_http_output_filter.c @ 19:d7908993fdeb
nginx-0.0.1-2002-12-02-19:09:40 import; resume after 2 months stall
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 02 Dec 2002 16:09:40 +0000 |
parents | 055ed05235ae |
children | f540a63026c9 |
line wrap: on
line diff
--- a/src/http/ngx_http_output_filter.c +++ b/src/http/ngx_http_output_filter.c @@ -90,7 +90,7 @@ int ngx_http_output_filter(ngx_http_requ ctx->out.hunk = ctx->hunk; rc = ngx_http_output_filter_copy_hunk(ctx->hunk, ctx->in->hunk); -#if (NGX_FILE_AIO) +#if (NGX_FILE_AIO_READ) if (rc == NGX_AGAIN) return rc; #endif @@ -178,7 +178,7 @@ int ngx_http_output_filter(ngx_http_requ rc = ngx_http_output_filter_copy_hunk(ctx->hunk, hunk); -#if (NGX_FILE_AIO) +#if (NGX_FILE_AIO_READ) if (rc == NGX_AGAIN) { /* add hunk to input chain */ ngx_add_hunk_to_chain(ctx->in, hunk, r->pool, @@ -243,7 +243,7 @@ static int ngx_http_output_filter_copy_h if (n == NGX_ERROR) { return n; -#if (NGX_FILE_AIO) +#if (NGX_FILE_AIO_READ) } else if (n == NGX_AGAIN) { return n; #endif