Mercurial > hg > nginx-vendor-0-5
diff src/http/modules/ngx_http_fastcgi_module.c @ 314:8f0416b14242 NGINX_0_5_27
nginx 0.5.27
*) Bugfix: if remote SSI subrequest was used, then posterior local file
subrequest might transferred to client in wrong order.
*) Bugfix: large SSI inclusions buffered in temporary files were
truncated.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 09 Jul 2007 00:00:00 +0400 |
parents | 55328d69b335 |
children | 3021f899881a |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_fastcgi_module.c +++ b/src/http/modules/ngx_http_fastcgi_module.c @@ -1144,16 +1144,16 @@ ngx_http_fastcgi_process_header(ngx_http return NGX_OK; } - if (u->buffer.pos == u->buffer.last) { + if (rc == NGX_OK) { return NGX_AGAIN; } - if (rc == NGX_AGAIN) { - ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, - "upstream split a header line in FastCGI records"); - - return NGX_HTTP_UPSTREAM_INVALID_HEADER; - } + /* rc == NGX_AGAIN */ + + ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, + "upstream split a header line in FastCGI records"); + + return NGX_HTTP_UPSTREAM_INVALID_HEADER; } }