changeset 5847:52b4984d2b3c

FastCGI: fixed start pointers in request buffers. The start pointers are used in ngx_http_upstream_reinit() to reinit FastCGI requests.
author Roman Arutyunyan <arut@nginx.com>
date Thu, 18 Sep 2014 16:37:14 +0400
parents cda4fcb9294c
children 106a8bfa4f42
files src/http/modules/ngx_http_fastcgi_module.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/modules/ngx_http_fastcgi_module.c
+++ b/src/http/modules/ngx_http_fastcgi_module.c
@@ -1129,6 +1129,7 @@ ngx_http_fastcgi_create_request(ngx_http
 
                 } else {
                     b->pos = pos;
+                    b->start = pos;
                     pos += 32 * 1024;
 
                     if (pos >= body->buf->last) {