mirror of
https://github.com/nginx/nginx.git
synced 2026-08-27 04:07:18 +00:00
finalize nonbuffered request on timeout
This commit is contained in:
parent
fc3f068bc5
commit
52ec2c48b9
1 changed files with 3 additions and 0 deletions
|
|
@ -1520,6 +1520,9 @@ ngx_http_upstream_process_non_buffered_body(ngx_event_t *ev)
|
|||
} else {
|
||||
ngx_connection_error(c, NGX_ETIMEDOUT, "upstream timed out");
|
||||
}
|
||||
|
||||
ngx_http_upstream_finalize_request(r, u, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
r = c->data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue