FastCGI: fixed start pointers in request buffers.

The start pointers are used in ngx_http_upstream_reinit() to
reinit FastCGI requests.
This commit is contained in:
Roman Arutyunyan 2014-09-18 16:37:14 +04:00
parent a7798de9bd
commit 66876d0b09

View File

@ -1129,6 +1129,7 @@ ngx_http_fastcgi_create_request(ngx_http_request_t *r)
} else { } else {
b->pos = pos; b->pos = pos;
b->start = pos;
pos += 32 * 1024; pos += 32 * 1024;
if (pos >= body->buf->last) { if (pos >= body->buf->last) {