finalize nonbuffered request on timeout

This commit is contained in:
Igor Sysoev 2006-10-10 13:11:06 +00:00
parent fc3f068bc5
commit 52ec2c48b9

View File

@ -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;