diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-10-14 05:26:00 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-10-14 05:26:00 +0000 |
commit | 1be6fcf207cec24e3a1e64d383efac4de3d0e5c3 (patch) | |
tree | 44d3cb4cbc08ac210912ed59bbe136743d1667d6 /src/http | |
parent | 913d0d4de7946c6220d44d0afe40fffda54b342e (diff) | |
download | nginx-1be6fcf207cec24e3a1e64d383efac4de3d0e5c3.tar.gz nginx-1be6fcf207cec24e3a1e64d383efac4de3d0e5c3.zip |
nginx-0.0.1-2003-10-14-09:26:00 import
Diffstat (limited to 'src/http')
-rw-r--r-- | src/http/ngx_http_output_filter.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/http/ngx_http_output_filter.c b/src/http/ngx_http_output_filter.c index 0f5b04c0d..4cd96a975 100644 --- a/src/http/ngx_http_output_filter.c +++ b/src/http/ngx_http_output_filter.c @@ -19,8 +19,12 @@ typedef struct { ngx_hunk_t *hunk; ngx_chain_t *in; + + /* TODO: out and last_out should be local variables */ ngx_chain_t *out; ngx_chain_t **last_out; + /* */ + ngx_chain_t *free; ngx_chain_t *busy; @@ -180,6 +184,9 @@ int ngx_http_output_filter(ngx_http_request_t *r, ngx_hunk_t *hunk) #if (NGX_FILE_AIO_READ) if (rc == NGX_AGAIN) { + if (ctx->out) { + break; + } return rc; } #endif |