mirror of
https://github.com/nginx/nginx.git
synced 2024-12-04 13:59:00 +08:00
fix SSI include stub for valid empty responses
This commit is contained in:
parent
402b2f07c2
commit
6814f42473
@ -126,7 +126,9 @@ ngx_http_copy_filter(ngx_http_request_t *r, ngx_chain_t *in)
|
||||
}
|
||||
#endif
|
||||
|
||||
r->request_output = 1;
|
||||
if (in && in->buf && ngx_buf_size(in->buf)) {
|
||||
r->request_output = 1;
|
||||
}
|
||||
}
|
||||
|
||||
#if (NGX_HAVE_FILE_AIO)
|
||||
|
Loading…
Reference in New Issue
Block a user