[nginx] FastCGI: fixed start pointers in request buffers.

Roman Arutyunyan arut at nginx.com
Thu Sep 18 12:41:19 UTC 2014


details:   http://hg.nginx.org/nginx/rev/52b4984d2b3c
branches:  
changeset: 5847:52b4984d2b3c
user:      Roman Arutyunyan <arut at nginx.com>
date:      Thu Sep 18 16:37:14 2014 +0400
description:
FastCGI: fixed start pointers in request buffers.

The start pointers are used in ngx_http_upstream_reinit() to
reinit FastCGI requests.

diffstat:

 src/http/modules/ngx_http_fastcgi_module.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r cda4fcb9294c -r 52b4984d2b3c src/http/modules/ngx_http_fastcgi_module.c
--- a/src/http/modules/ngx_http_fastcgi_module.c	Tue Sep 16 21:12:51 2014 +0400
+++ b/src/http/modules/ngx_http_fastcgi_module.c	Thu Sep 18 16:37:14 2014 +0400
@@ -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) {



More information about the nginx-devel mailing list