# HG changeset patch # User Igor Sysoev # Date 1230099064 0 # Node ID 5bdb1591d37f676183864de47da0670fb1b49170 # Parent 7af1e5fe102c48f1f7db21e7f5e9490bccea4d64 update r2422 diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c --- 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 * 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;