Mercurial > hg > nginx
comparison src/http/modules/ngx_http_fastcgi_module.c @ 5847:52b4984d2b3c
FastCGI: fixed start pointers in request buffers.
The start pointers are used in ngx_http_upstream_reinit() to
reinit FastCGI requests.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Thu, 18 Sep 2014 16:37:14 +0400 |
parents | d09b689911ac |
children | 2aff40b3dea2 |
comparison
equal
deleted
inserted
replaced
5846:cda4fcb9294c | 5847:52b4984d2b3c |
---|---|
1127 b->file_last = file_pos; | 1127 b->file_last = file_pos; |
1128 len = (ngx_uint_t) (file_pos - b->file_pos); | 1128 len = (ngx_uint_t) (file_pos - b->file_pos); |
1129 | 1129 |
1130 } else { | 1130 } else { |
1131 b->pos = pos; | 1131 b->pos = pos; |
1132 b->start = pos; | |
1132 pos += 32 * 1024; | 1133 pos += 32 * 1024; |
1133 | 1134 |
1134 if (pos >= body->buf->last) { | 1135 if (pos >= body->buf->last) { |
1135 pos = body->buf->last; | 1136 pos = body->buf->last; |
1136 next = 1; | 1137 next = 1; |