Mercurial > hg > nginx-quic
comparison src/http/ngx_http_upstream.c @ 6703:edcd9303a4d3
Upstream: introduced u->upstream.
It holds upstream{} block configuration, including ones selected via
run-time lookup using variables.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 22 Sep 2016 19:32:26 +0300 |
parents | 9cf2dce316e5 |
children | 29bf0dbc0a77 |
comparison
equal
deleted
inserted
replaced
6702:914d8a63dbad | 6703:edcd9303a4d3 |
---|---|
746 ngx_http_upstream_finalize_request(r, u, | 746 ngx_http_upstream_finalize_request(r, u, |
747 NGX_HTTP_INTERNAL_SERVER_ERROR); | 747 NGX_HTTP_INTERNAL_SERVER_ERROR); |
748 return; | 748 return; |
749 } | 749 } |
750 | 750 |
751 u->upstream = uscf; | |
752 | |
751 #if (NGX_HTTP_SSL) | 753 #if (NGX_HTTP_SSL) |
752 u->ssl_name = uscf->host; | 754 u->ssl_name = uscf->host; |
753 #endif | 755 #endif |
754 | 756 |
755 if (uscf->peer.init(r, uscf) != NGX_OK) { | 757 if (uscf->peer.init(r, uscf) != NGX_OK) { |