diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-10-11 09:12:01 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-10-11 09:12:01 +0000 |
commit | d40ee41c095cd8850fe6e18d9111918a622bcb88 (patch) | |
tree | 65e3aaa140cd0b8e3ef8a5a6e0f12ef06128b8da /src | |
parent | a33dafb110e73aaa8a72ca16d7c7a64a2c259f85 (diff) | |
download | nginx-d40ee41c095cd8850fe6e18d9111918a622bcb88.tar.gz nginx-d40ee41c095cd8850fe6e18d9111918a622bcb88.zip |
fix <!--#include virtual=... wait="yes" -->
r759 did not fix the bug
Diffstat (limited to 'src')
-rw-r--r-- | src/http/modules/ngx_http_ssi_filter_module.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/http/modules/ngx_http_ssi_filter_module.c b/src/http/modules/ngx_http_ssi_filter_module.c index dc0cb74fb..5e7bc1eb1 100644 --- a/src/http/modules/ngx_http_ssi_filter_module.c +++ b/src/http/modules/ngx_http_ssi_filter_module.c @@ -411,17 +411,16 @@ ngx_http_ssi_body_filter(ngx_http_request_t *r, ngx_chain_t *in) } if (ctx->wait) { - if (r->connection->data != r) { + if (ctx->wait != r) { ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, "http ssi filter \"%V\" wait", &r->uri); return NGX_AGAIN; } - if (ctx->wait == r) { - ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, - "http ssi filter \"%V\" continue", &r->uri); - ctx->wait = NULL; - } + ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, + "http ssi filter \"%V\" continue", &r->uri); + + ctx->wait = NULL; } slcf = ngx_http_get_module_loc_conf(r, ngx_http_ssi_filter_module); |