diff options
author | Roman Arutyunyan <arut@nginx.com> | 2014-09-18 16:37:14 +0400 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2014-09-18 16:37:14 +0400 |
commit | 66876d0b098fee3e3a0cbdf039a11050814f55e0 (patch) | |
tree | 28c26aac7946978a11de669c9f77e516c52a8973 /src/http/modules/ngx_http_fastcgi_module.c | |
parent | a7798de9bd8f1f4fd5bce6d77631073d472bed8a (diff) | |
download | nginx-66876d0b098fee3e3a0cbdf039a11050814f55e0.tar.gz nginx-66876d0b098fee3e3a0cbdf039a11050814f55e0.zip |
FastCGI: fixed start pointers in request buffers.
The start pointers are used in ngx_http_upstream_reinit() to
reinit FastCGI requests.
Diffstat (limited to 'src/http/modules/ngx_http_fastcgi_module.c')
-rw-r--r-- | src/http/modules/ngx_http_fastcgi_module.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |