Mercurial > hg > nginx-quic
comparison src/http/modules/proxy/ngx_http_proxy_upstream.c @ 377:41437e4fd9b4
nginx-0.0.7-2004-07-05-19:08:23 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 05 Jul 2004 15:08:23 +0000 |
parents | 744ccb59062d |
children | 5ce6561246a5 |
comparison
equal
deleted
inserted
replaced
376:d0451e402e27 | 377:41437e4fd9b4 |
---|---|
60 p->upstream = u; | 60 p->upstream = u; |
61 | 61 |
62 u->peer.log_error = NGX_ERROR_ERR; | 62 u->peer.log_error = NGX_ERROR_ERR; |
63 u->peer.peers = p->lcf->peers; | 63 u->peer.peers = p->lcf->peers; |
64 u->peer.tries = p->lcf->peers->number; | 64 u->peer.tries = p->lcf->peers->number; |
65 #if (NGX_THREADS) | |
66 u->peer.lock = &r->connection->lock; | |
67 #endif | |
65 | 68 |
66 u->method = r->method; | 69 u->method = r->method; |
67 | 70 |
68 if (!(rb = ngx_pcalloc(r->pool, sizeof(ngx_http_request_body_t)))) { | 71 if (!(rb = ngx_pcalloc(r->pool, sizeof(ngx_http_request_body_t)))) { |
69 return NGX_HTTP_INTERNAL_SERVER_ERROR; | 72 return NGX_HTTP_INTERNAL_SERVER_ERROR; |