mirror of
https://github.com/nginx/nginx.git
synced 2024-12-20 14:13:33 -06:00
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:
parent
1c9f74852f
commit
7e3fdc4e8e
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user