Mercurial > hg > nginx
changeset 1273:e02f63bea768 stable-0.5
r1273 merge:
when the FastCGI header was split in records,
nginx passed garbage in the header to a client
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 08 Jul 2007 09:18:06 +0000 |
parents | b8fab2c5dac9 |
children | 11c5a854d4e2 |
files | src/http/modules/ngx_http_fastcgi_module.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_fastcgi_module.c Thu Jul 05 11:42:11 2007 +0000 +++ b/src/http/modules/ngx_http_fastcgi_module.c Sun Jul 08 09:18:06 2007 +0000 @@ -1144,7 +1144,7 @@ return NGX_OK; } - if (u->buffer.pos == u->buffer.last) { + if (rc == NGX_OK && u->buffer.pos == u->buffer.last) { return NGX_AGAIN; }