diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2006-10-10 14:30:39 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2006-10-10 14:30:39 +0000 |
| commit | 9fcccaf66f91a8d0370520be197599620e8d0a33 (patch) | |
| tree | 0019c9b8cc9b3cb339948df28e33fc546792309b /src/http/ngx_http_core_module.c | |
| parent | cea316dbae9410838838861f3018c2e93078fb01 (diff) | |
| download | nginx-9fcccaf66f91a8d0370520be197599620e8d0a33.tar.gz nginx-9fcccaf66f91a8d0370520be197599620e8d0a33.tar.bz2 | |
fix <!--#include virtual=... wait="yes" -->
Diffstat (limited to 'src/http/ngx_http_core_module.c')
| -rw-r--r-- | src/http/ngx_http_core_module.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index fc24d904f..c132a2d52 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -1283,7 +1283,8 @@ ngx_http_auth_basic_user(ngx_http_request_t *r) ngx_int_t ngx_http_subrequest(ngx_http_request_t *r, - ngx_str_t *uri, ngx_str_t *args, ngx_chain_t *out, ngx_uint_t flags) + ngx_str_t *uri, ngx_str_t *args, ngx_http_request_t **psr, + ngx_chain_t *out, ngx_uint_t flags) { ngx_connection_t *c; ngx_http_request_t *sr; @@ -1417,6 +1418,8 @@ ngx_http_subrequest(ngx_http_request_t *r, ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0, "http subrequest done \"%V?%V\"", uri, &sr->args); + *psr = sr; + if (sr->fast_subrequest) { sr->fast_subrequest = 0; |
