fix SSI include stub for valid empty responses

This commit is contained in:
Igor Sysoev 2010-05-14 12:18:44 +00:00
parent 402b2f07c2
commit 6814f42473

View File

@ -126,8 +126,10 @@ ngx_http_copy_filter(ngx_http_request_t *r, ngx_chain_t *in)
}
#endif
if (in && in->buf && ngx_buf_size(in->buf)) {
r->request_output = 1;
}
}
#if (NGX_HAVE_FILE_AIO)
ctx->aio = r->aio;