fix SSI include stub for valid empty responses

This commit is contained in:
Igor Sysoev 2010-05-14 12:18:44 +00:00
parent 63b4ff086e
commit df46eaa53a
1 changed files with 3 additions and 1 deletions

View File

@ -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)