comparison src/stream/ngx_stream.h @ 6675:ab9b4fd8c5b7

Stream: the $upstream_addr variable. Keeps the full address of the upstream server. If several servers were contacted during proxying, their addresses are separated by commas, e.g. "192.168.1.1:80, 192.168.1.2:80".
author Vladimir Homutov <vl@nginx.com>
date Fri, 02 Sep 2016 18:27:05 +0300
parents 38143d1abdec
children 0125b151c9a5
comparison
equal deleted inserted replaced
6674:38143d1abdec 6675:ab9b4fd8c5b7
170 void **ctx; 170 void **ctx;
171 void **main_conf; 171 void **main_conf;
172 void **srv_conf; 172 void **srv_conf;
173 173
174 ngx_stream_upstream_t *upstream; 174 ngx_stream_upstream_t *upstream;
175 175 ngx_array_t *upstream_states;
176 /* of ngx_stream_upstream_state_t */
176 ngx_stream_variable_value_t *variables; 177 ngx_stream_variable_value_t *variables;
177 178
178 #if (NGX_PCRE) 179 #if (NGX_PCRE)
179 ngx_uint_t ncaptures; 180 ngx_uint_t ncaptures;
180 int *captures; 181 int *captures;