summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_upstream.h
diff options
context:
space:
mode:
authorDmitry Volyntsev <xeioex@nginx.com>2016-03-17 18:42:31 +0300
committerAleksei Bavshin <a.bavshin@f5.com>2024-11-07 07:57:42 -0800
commit9fe119b431c957824d7bed75fce47dfbda74ca33 (patch)
treedd1f22fcba96544d8b15151b3309bfb3037c1d0a /src/http/ngx_http_upstream.h
parentdb6870e06dde7ab249e9a41a0e0a76219f82dd8c (diff)
downloadnginx-9fe119b431c957824d7bed75fce47dfbda74ca33.tar.gz
nginx-9fe119b431c957824d7bed75fce47dfbda74ca33.tar.bz2
Upstream: construct upstream peers from DNS SRV records.
Diffstat (limited to 'src/http/ngx_http_upstream.h')
-rw-r--r--src/http/ngx_http_upstream.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http/ngx_http_upstream.h b/src/http/ngx_http_upstream.h
index 0922021bd..57ee06f8d 100644
--- a/src/http/ngx_http_upstream.h
+++ b/src/http/ngx_http_upstream.h
@@ -106,9 +106,10 @@ typedef struct {
#if (NGX_HTTP_UPSTREAM_ZONE)
ngx_str_t host;
+ ngx_str_t service;
#endif
- NGX_COMPAT_BEGIN(4)
+ NGX_COMPAT_BEGIN(2)
NGX_COMPAT_END
} ngx_http_upstream_server_t;