summaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request_body.c
diff options
context:
space:
mode:
authornginx <nginx@nginx.org>2015-04-07 15:42:39 +0000
committerJon Kolb <kolbyjack@gmail.com>2015-04-07 15:42:39 +0000
commit6612579e5a1459b05960a31bbbcfe4cd5afc319a (patch)
tree6959ffbbb370e1aa938c169dec4e226c160c9d44 /src/http/ngx_http_request_body.c
parentae88e2338f6e27459ace8a23754afc5892c2c5be (diff)
downloadnginx-1.7.tar.gz
Changes with nginx 1.7.12 07 Apr 2015v1.7.12nginx-1.7
*) Feature: now the "tcp_nodelay" directive works with backend SSL connections. *) Feature: now thread pools can be used to read cache file headers. *) Bugfix: in the "proxy_request_buffering" directive. *) Bugfix: a segmentation fault might occur in a worker process when using thread pools on Linux. *) Bugfix: in error handling when using the "ssl_stapling" directive. Thanks to Filipe da Silva. *) Bugfix: in the ngx_http_spdy_module.
Diffstat (limited to 'src/http/ngx_http_request_body.c')
-rw-r--r--src/http/ngx_http_request_body.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_request_body.c b/src/http/ngx_http_request_body.c
index ac5b530ba..9c169845e 100644
--- a/src/http/ngx_http_request_body.c
+++ b/src/http/ngx_http_request_body.c
@@ -949,6 +949,7 @@ ngx_http_request_body_length_filter(ngx_http_request_t *r, ngx_chain_t *in)
b->pos = cl->buf->pos;
b->last = cl->buf->last;
b->end = cl->buf->end;
+ b->flush = r->request_body_no_buffering;
size = cl->buf->last - cl->buf->pos;
@@ -1056,6 +1057,7 @@ ngx_http_request_body_chunked_filter(ngx_http_request_t *r, ngx_chain_t *in)
b->pos = cl->buf->pos;
b->last = cl->buf->last;
b->end = cl->buf->end;
+ b->flush = r->request_body_no_buffering;
*ll = tl;
ll = &tl->next;