Mercurial > hg > nginx
changeset 1272:ace48cc7a946
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:16:36 +0000 |
parents | 2b3e6aede7da |
children | 7ffdd1bb86d5 |
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 Fri Jul 06 11:28:20 2007 +0000 +++ b/src/http/modules/ngx_http_fastcgi_module.c Sun Jul 08 09:16:36 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; }