diff src/http/modules/ngx_http_ssi_filter_module.c @ 2426:e5ef47ecab5d

fix r2378, file inclusion should be waited
author Igor Sysoev <igor@sysoev.ru>
date Wed, 24 Dec 2008 12:39:41 +0000
parents cc13ff6d5c07
children a6d6d762c554
line wrap: on
line diff
--- 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 
 
     if (uri == NULL) {
         uri = file;
+        wait = (ngx_str_t *) -1;
     }
 
     rc = ngx_http_ssi_evaluate_string(r, ctx, uri, NGX_HTTP_SSI_ADD_PREFIX);