comparison src/http/ngx_http_upstream.c @ 755:63b9dc652c3d

finalize nonbuffered request on timeout
author Igor Sysoev <igor@sysoev.ru>
date Tue, 10 Oct 2006 13:11:06 +0000
parents bae59a740c40
children d904b5cb3bba
comparison
equal deleted inserted replaced
754:4ac89c5aa10d 755:63b9dc652c3d
1518 ngx_connection_error(c, NGX_ETIMEDOUT, "client timed out"); 1518 ngx_connection_error(c, NGX_ETIMEDOUT, "client timed out");
1519 1519
1520 } else { 1520 } else {
1521 ngx_connection_error(c, NGX_ETIMEDOUT, "upstream timed out"); 1521 ngx_connection_error(c, NGX_ETIMEDOUT, "upstream timed out");
1522 } 1522 }
1523
1524 ngx_http_upstream_finalize_request(r, u, 0);
1525 return;
1523 } 1526 }
1524 1527
1525 r = c->data; 1528 r = c->data;
1526 u = r->upstream; 1529 u = r->upstream;
1527 client = r->connection; 1530 client = r->connection;