fix SSI include stub for valid empty responses
This commit is contained in:
parent
63b4ff086e
commit
df46eaa53a
|
@ -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