From 66876d0b098fee3e3a0cbdf039a11050814f55e0 Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Thu, 18 Sep 2014 16:37:14 +0400 Subject: [PATCH] FastCGI: fixed start pointers in request buffers. The start pointers are used in ngx_http_upstream_reinit() to reinit FastCGI requests. --- src/http/modules/ngx_http_fastcgi_module.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c index 9847ec170..a49c93ca2 100644 --- 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_request_t *r) } else { b->pos = pos; + b->start = pos; pos += 32 * 1024; if (pos >= body->buf->last) {