mirror of
https://github.com/nginx/nginx.git
synced 2024-11-26 10:50:18 -06:00
update r2422
This commit is contained in:
parent
302cedceb0
commit
d8e54adb6d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user