Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2015-02-11 17:52:15 +0300
committerValentin Bartenev <vbart@nginx.com>2015-02-11 17:52:15 +0300
commit2b8d6ad805a0132844cfbc1cf1c6988dfe8c9973 (patch)
tree0cfe79e6cd5bd968c04ec176383c1fd0efc86757 /src/core/ngx_connection.h
parent2b7e167dbb59a6d1152c644080e21782b8b675e3 (diff)
Refactored sendfile() AIO preload.
This reduces layering violation and simplifies the logic of AIO preread, since it's now triggered by the send chain function itself without falling back to the copy filter. The context of AIO operation is now stored per file buffer, which makes it possible to properly handle cases when multiple buffers come from different locations, each with its own configuration.
Diffstat (limited to 'src/core/ngx_connection.h')
-rw-r--r--src/core/ngx_connection.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h
index ed14e6023..143cab7b3 100644
--- a/src/core/ngx_connection.h
+++ b/src/core/ngx_connection.h
@@ -181,9 +181,7 @@ struct ngx_connection_s {
#endif
#if (NGX_HAVE_AIO_SENDFILE)
- unsigned aio_sendfile:1;
unsigned busy_count:2;
- ngx_buf_t *busy_sendfile;
#endif
#if (NGX_THREADS)