From c6d456da87fab9fc953f4f0d8506ac83415e774c Mon Sep 17 00:00:00 2001 From: Vladimir Homutov Date: Fri, 2 Sep 2016 18:27:05 +0300 Subject: 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". --- src/stream/ngx_stream.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/stream/ngx_stream.h') diff --git a/src/stream/ngx_stream.h b/src/stream/ngx_stream.h index 91e4671a8..83e7d521a 100644 --- a/src/stream/ngx_stream.h +++ b/src/stream/ngx_stream.h @@ -172,7 +172,8 @@ struct ngx_stream_session_s { void **srv_conf; ngx_stream_upstream_t *upstream; - + ngx_array_t *upstream_states; + /* of ngx_stream_upstream_state_t */ ngx_stream_variable_value_t *variables; #if (NGX_PCRE) -- cgit