Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.c @ 3053:0d253659da12
directio_alignment
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 28 Aug 2009 08:15:55 +0000 |
parents | 6060225e9261 |
children | 92b6cfaa3c27 |
comparison
equal
deleted
inserted
replaced
3052:6060225e9261 | 3053:0d253659da12 |
---|---|
472 return; | 472 return; |
473 } | 473 } |
474 | 474 |
475 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); | 475 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); |
476 | 476 |
477 u->output.alignment = clcf->directio_alignment; | |
477 u->output.pool = r->pool; | 478 u->output.pool = r->pool; |
478 u->output.bufs.num = 1; | 479 u->output.bufs.num = 1; |
479 u->output.bufs.size = clcf->client_body_buffer_size; | 480 u->output.bufs.size = clcf->client_body_buffer_size; |
480 u->output.output_filter = ngx_chain_writer; | 481 u->output.output_filter = ngx_chain_writer; |
481 u->output.filter_ctx = &u->writer; | 482 u->output.filter_ctx = &u->writer; |