comparison src/http/ngx_http_request.c @ 978:b3d642b5e4bb

fix segfault
author Igor Sysoev <igor@sysoev.ru>
date Sat, 06 Jan 2007 13:01:26 +0000
parents a6fe6bedb9e3
children bc232bbdddf9
comparison
equal deleted inserted replaced
977:b9836e87dd4d 978:b3d642b5e4bb
1489 rc = r->post_subrequest->handler(r, r->post_subrequest->data, rc); 1489 rc = r->post_subrequest->handler(r, r->post_subrequest->data, rc);
1490 } 1490 }
1491 1491
1492 if (rc == NGX_ERROR 1492 if (rc == NGX_ERROR
1493 || rc == NGX_HTTP_REQUEST_TIME_OUT 1493 || rc == NGX_HTTP_REQUEST_TIME_OUT
1494 || rc == NGX_HTTP_CLIENT_CLOSED_REQUEST
1494 || r->connection->error) 1495 || r->connection->error)
1495 { 1496 {
1496 if (rc == NGX_HTTP_CLIENT_CLOSED_REQUEST 1497 if (rc == NGX_HTTP_CLIENT_CLOSED_REQUEST
1497 && r->headers_out.status == 0) 1498 && r->headers_out.status == 0)
1498 { 1499 {