From: Roman Arutyunyan Date: Thu, 18 Sep 2014 12:37:14 +0000 (+0400) Subject: FastCGI: fixed start pointers in request buffers. X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/postgres_fdw.c?a=commitdiff_plain;h=66876d0b098fee3e3a0cbdf039a11050814f55e0;p=nginx.git FastCGI: fixed start pointers in request buffers. The start pointers are used in ngx_http_upstream_reinit() to reinit FastCGI requests. --- 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) {