]> git.kaiwu.me - nginx.git/commitdiff
fix r2378, file inclusion should be waited
authorIgor Sysoev <igor@sysoev.ru>
Wed, 24 Dec 2008 12:39:41 +0000 (12:39 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 24 Dec 2008 12:39:41 +0000 (12:39 +0000)
src/http/modules/ngx_http_ssi_filter_module.c

index 74a2c85d03bdb532946d4299ff4442c46393d895..849e13b0b4a18e6a8b68f477bffa737c147c6b2d 100644 (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);