fix segfault

This commit is contained in:
Igor Sysoev 2007-01-06 13:01:26 +00:00
parent 5f0b82aa42
commit f250a6dfba

View File

@ -1491,6 +1491,7 @@ ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc)
if (rc == NGX_ERROR if (rc == NGX_ERROR
|| rc == NGX_HTTP_REQUEST_TIME_OUT || rc == NGX_HTTP_REQUEST_TIME_OUT
|| rc == NGX_HTTP_CLIENT_CLOSED_REQUEST
|| r->connection->error) || r->connection->error)
{ {
if (rc == NGX_HTTP_CLIENT_CLOSED_REQUEST if (rc == NGX_HTTP_CLIENT_CLOSED_REQUEST