diff src/http/modules/ngx_http_fastcgi_module.c @ 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 d09b689911ac
children 2aff40b3dea2
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) {