Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.c @ 756:d904b5cb3bba
fix building introduced by previous commit
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 10 Oct 2006 13:12:13 +0000 |
parents | 63b9dc652c3d |
children | a138c4e6031f |
comparison
equal
deleted
inserted
replaced
755:63b9dc652c3d | 756:d904b5cb3bba |
---|---|
1498 ngx_http_request_t *r; | 1498 ngx_http_request_t *r; |
1499 ngx_http_upstream_t *u; | 1499 ngx_http_upstream_t *u; |
1500 ngx_http_core_loc_conf_t *clcf; | 1500 ngx_http_core_loc_conf_t *clcf; |
1501 | 1501 |
1502 c = ev->data; | 1502 c = ev->data; |
1503 r = c->data; | |
1504 u = r->upstream; | |
1503 | 1505 |
1504 if (ev->write) { | 1506 if (ev->write) { |
1505 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0, | 1507 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->log, 0, |
1506 "http upstream process non buffered downstream"); | 1508 "http upstream process non buffered downstream"); |
1507 c->log->action = "sending to client"; | 1509 c->log->action = "sending to client"; |
1523 | 1525 |
1524 ngx_http_upstream_finalize_request(r, u, 0); | 1526 ngx_http_upstream_finalize_request(r, u, 0); |
1525 return; | 1527 return; |
1526 } | 1528 } |
1527 | 1529 |
1528 r = c->data; | |
1529 u = r->upstream; | |
1530 client = r->connection; | 1530 client = r->connection; |
1531 | 1531 |
1532 b = &u->buffer; | 1532 b = &u->buffer; |
1533 | 1533 |
1534 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); | 1534 clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); |