mirror of
https://github.com/nginx/nginx.git
synced 2025-01-08 07:03:01 -06:00
finalize nonbuffered request on timeout
This commit is contained in:
parent
fc3f068bc5
commit
52ec2c48b9
@ -1520,6 +1520,9 @@ ngx_http_upstream_process_non_buffered_body(ngx_event_t *ev)
|
|||||||
} else {
|
} else {
|
||||||
ngx_connection_error(c, NGX_ETIMEDOUT, "upstream timed out");
|
ngx_connection_error(c, NGX_ETIMEDOUT, "upstream timed out");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ngx_http_upstream_finalize_request(r, u, 0);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
r = c->data;
|
r = c->data;
|
||||||
|
Loading…
Reference in New Issue
Block a user