Mercurial > hg > nginx
changeset 755:63b9dc652c3d
finalize nonbuffered request on timeout
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 10 Oct 2006 13:11:06 +0000 |
parents | 4ac89c5aa10d |
children | d904b5cb3bba |
files | src/http/ngx_http_upstream.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.c Mon Oct 09 15:38:59 2006 +0000 +++ b/src/http/ngx_http_upstream.c Tue Oct 10 13:11:06 2006 +0000 @@ -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;