From: Igor Sysoev Date: Wed, 24 Dec 2008 12:39:41 +0000 (+0000) Subject: fix r2378, file inclusion should be waited X-Git-Tag: release-0.7.29~1 X-Git-Url: http://git.kaiwu.me/sitemap.xml?a=commitdiff_plain;h=a26a70e80b752b7670215465d81abb0b8403df7a;p=nginx.git fix r2378, file inclusion should be waited --- diff --git a/src/http/modules/ngx_http_ssi_filter_module.c b/src/http/modules/ngx_http_ssi_filter_module.c index 74a2c85d0..849e13b0b 100644 --- a/src/http/modules/ngx_http_ssi_filter_module.c +++ b/src/http/modules/ngx_http_ssi_filter_module.c @@ -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);