mirror of
https://github.com/nginx/nginx.git
synced 2024-12-05 22:39:00 +08: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 {
|
||||
ngx_connection_error(c, NGX_ETIMEDOUT, "upstream timed out");
|
||||
}
|
||||
|
||||
ngx_http_upstream_finalize_request(r, u, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
r = c->data;
|
||||
|
Loading…
Reference in New Issue
Block a user