summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_upstream.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-08-28 08:15:55 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-08-28 08:15:55 +0000
commit6fb506a21500dcdf3878d1553c57bd49d0f844b2 (patch)
tree1005ae8c25fc8bc7b169e674f3a6e1aed3810d3d /src/http/ngx_http_upstream.c
parenta962506498d3930bea4e34bc21d261613065f98f (diff)
downloadnginx-6fb506a21500dcdf3878d1553c57bd49d0f844b2.tar.gz
nginx-6fb506a21500dcdf3878d1553c57bd49d0f844b2.tar.bz2
directio_alignment
Diffstat (limited to '')
-rw-r--r--src/http/ngx_http_upstream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c
index a864fb16d..11a2cc6d4 100644
--- a/src/http/ngx_http_upstream.c
+++ b/src/http/ngx_http_upstream.c
@@ -474,6 +474,7 @@ ngx_http_upstream_init_request(ngx_http_request_t *r)
clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module);
+ u->output.alignment = clcf->directio_alignment;
u->output.pool = r->pool;
u->output.bufs.num = 1;
u->output.bufs.size = clcf->client_body_buffer_size;