diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2008-12-24 06:11:04 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2008-12-24 06:11:04 +0000 |
| commit | d8e54adb6d6b6ee253de5f16006f94e2f88264e5 (patch) | |
| tree | faaa7f71dfdf354e50dff43e451df55db10388de /src | |
| parent | 302cedceb0f6647e3c7578f5210c458e9efc90b4 (diff) | |
| download | nginx-d8e54adb6d6b6ee253de5f16006f94e2f88264e5.tar.gz nginx-d8e54adb6d6b6ee253de5f16006f94e2f88264e5.tar.bz2 | |
update r2422
Diffstat (limited to 'src')
| -rw-r--r-- | src/http/ngx_http_core_module.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 458e4565a..e28197356 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -2093,19 +2093,10 @@ ngx_http_subrequest(ngx_http_request_t *r, sr->read_event_handler = ngx_http_request_empty_handler; sr->write_event_handler = ngx_http_handler; - if (c->data == r) { - - for (pr = r->postponed; pr; pr = pr->next) { - if (pr->request) { - goto no_activate; - } - } - + if (c->data == r && r->postponed == NULL) { c->data = sr; } -no_activate: - sr->in_addr = r->in_addr; sr->port = r->port; sr->port_text = r->port_text; |
