fix r2378, file inclusion should be waited

This commit is contained in:
Igor Sysoev 2008-12-24 12:39:41 +00:00
parent 9eb86c43c7
commit a26a70e80b

View File

@ -1881,6 +1881,7 @@ ngx_http_ssi_include(ngx_http_request_t *r, ngx_http_ssi_ctx_t *ctx,
if (uri == NULL) {
uri = file;
wait = (ngx_str_t *) -1;
}
rc = ngx_http_ssi_evaluate_string(r, ctx, uri, NGX_HTTP_SSI_ADD_PREFIX);