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
path: root/src/http
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-09-22 23:08:42 +0400
committerIgor Sysoev <igor@sysoev.ru>2007-09-22 23:08:42 +0400
commit2c7cb74b9feb4b5337b374e5873f64f930a4960c (patch)
treef156762cb032c42bcac930a009fd5f3cdcd68eb6 /src/http
parent6883bc72c524ff9100bc9f37ad12e44356b9a929 (diff)
r1398 merge:
upstream sendfile bit was overridden by r->connection->sendfile
Diffstat (limited to 'src/http')
-rw-r--r--src/http/ngx_http_upstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c
index bc4567458..2140d855d 100644
--- a/src/http/ngx_http_upstream.c
+++ b/src/http/ngx_http_upstream.c
@@ -581,7 +581,7 @@ ngx_http_upstream_connect(ngx_http_request_t *r, ngx_http_upstream_t *u)
c->write->handler = ngx_http_upstream_send_request_handler;
c->read->handler = ngx_http_upstream_process_header;
- c->sendfile = r->connection->sendfile;
+ c->sendfile &= r->connection->sendfile;
c->pool = r->pool;
c->read->log = c->write->log = c->log = r->connection->log;