mirror of
https://github.com/nginx/nginx.git
synced 2025-06-16 16:51:05 +08:00
fix <!--#include virtual=... wait="yes" -->
r759 did not fix the bug
This commit is contained in:
parent
a33dafb110
commit
d40ee41c09
@ -411,18 +411,17 @@ ngx_http_ssi_body_filter(ngx_http_request_t *r, ngx_chain_t *in)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ctx->wait) {
|
if (ctx->wait) {
|
||||||
if (r->connection->data != r) {
|
if (ctx->wait != r) {
|
||||||
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
||||||
"http ssi filter \"%V\" wait", &r->uri);
|
"http ssi filter \"%V\" wait", &r->uri);
|
||||||
return NGX_AGAIN;
|
return NGX_AGAIN;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ctx->wait == r) {
|
|
||||||
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
||||||
"http ssi filter \"%V\" continue", &r->uri);
|
"http ssi filter \"%V\" continue", &r->uri);
|
||||||
|
|
||||||
ctx->wait = NULL;
|
ctx->wait = NULL;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
slcf = ngx_http_get_module_loc_conf(r, ngx_http_ssi_filter_module);
|
slcf = ngx_http_get_module_loc_conf(r, ngx_http_ssi_filter_module);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user