comparison src/http/modules/ngx_http_ssi_filter_module.c @ 765:4cb8f85c085d

fix <!--#include virtual=... wait="yes" --> r759 did not fix the bug
author Igor Sysoev <igor@sysoev.ru>
date Wed, 11 Oct 2006 09:12:01 +0000
parents 86bb73dc8d40
children cad7543dc419
comparison
equal deleted inserted replaced
764:761a94247118 765:4cb8f85c085d
409 return NGX_ERROR; 409 return NGX_ERROR;
410 } 410 }
411 } 411 }
412 412
413 if (ctx->wait) { 413 if (ctx->wait) {
414 if (r->connection->data != r) { 414 if (ctx->wait != r) {
415 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 415 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
416 "http ssi filter \"%V\" wait", &r->uri); 416 "http ssi filter \"%V\" wait", &r->uri);
417 return NGX_AGAIN; 417 return NGX_AGAIN;
418 } 418 }
419 419
420 if (ctx->wait == r) { 420 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
421 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 421 "http ssi filter \"%V\" continue", &r->uri);
422 "http ssi filter \"%V\" continue", &r->uri); 422
423 ctx->wait = NULL; 423 ctx->wait = NULL;
424 }
425 } 424 }
426 425
427 slcf = ngx_http_get_module_loc_conf(r, ngx_http_ssi_filter_module); 426 slcf = ngx_http_get_module_loc_conf(r, ngx_http_ssi_filter_module);
428 427
429 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 428 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,