diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-09-13 10:28:17 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-09-13 10:28:17 +0400 |
commit | 84b20ca18b07c4f27d3ae7a9b3660b184b051057 (patch) | |
tree | 8b29e9396c7380db28431d4ea5708ea06257d986 /src/core/ngx_buf.h | |
parent | 570608ff4a0863591d4db63cd0acb13eab5a3af8 (diff) |
fix case when the output filter should add incoming buffers
while waiting on file AIO completion
Diffstat (limited to 'src/core/ngx_buf.h')
-rw-r--r-- | src/core/ngx_buf.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/ngx_buf.h b/src/core/ngx_buf.h index ba4854489..847eaad05 100644 --- a/src/core/ngx_buf.h +++ b/src/core/ngx_buf.h @@ -89,6 +89,11 @@ struct ngx_output_chain_ctx_s { #endif unsigned need_in_memory:1; unsigned need_in_temp:1; +#if (NGX_HAVE_FILE_AIO) + unsigned aio:1; + + ngx_output_chain_aio_pt aio_handler; +#endif off_t alignment; @@ -99,10 +104,6 @@ struct ngx_output_chain_ctx_s { ngx_output_chain_filter_pt output_filter; void *filter_ctx; - -#if (NGX_HAVE_FILE_AIO) - ngx_output_chain_aio_pt aio; -#endif }; |