r1273 merge:

when the FastCGI header was split in records,
nginx passed garbage in the header to a client
This commit is contained in:
Igor Sysoev 2007-07-08 09:18:06 +00:00
parent 890a7407c7
commit 4a7cc46f8c
1 changed files with 1 additions and 1 deletions

View File

@ -1144,7 +1144,7 @@ ngx_http_fastcgi_process_header(ngx_http_request_t *r)
return NGX_OK;
}
if (u->buffer.pos == u->buffer.last) {
if (rc == NGX_OK && u->buffer.pos == u->buffer.last) {
return NGX_AGAIN;
}