fix segfault if there was non cached large FastCGI stderr output before header,

the bug had been introduced in r3461
This commit is contained in:
Igor Sysoev 2010-03-10 13:51:47 +00:00
parent 1c9f74852f
commit 7e3fdc4e8e

View File

@ -1254,7 +1254,7 @@ ngx_http_fastcgi_process_header(ngx_http_request_t *r)
#if (NGX_HTTP_CACHE)
if (f->large_stderr) {
if (f->large_stderr && r->cache) {
u_char *start;
ssize_t len;