commit | 52ec2c48b9e80760576286bf5432d61e3c315475 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Tue Oct 10 13:11:06 2006 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Tue Oct 10 13:11:06 2006 +0000 |
tree | fb160b5284e75d4699bb6574086bb26075f7963e | |
parent | fc3f068bc5d398c12b409e19303c66982276e4a4 [diff] |
finalize nonbuffered request on timeout
diff --git a/src/http/ngx_http_upstream.c b/src/http/ngx_http_upstream.c index ebc30be..71b9b89 100644 --- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c
@@ -1520,6 +1520,9 @@ } else { ngx_connection_error(c, NGX_ETIMEDOUT, "upstream timed out"); } + + ngx_http_upstream_finalize_request(r, u, 0); + return; } r = c->data;