Latest update - GitHub 569948a
This commit is contained in:
@@ -104,7 +104,12 @@ typedef struct {
|
||||
|
||||
unsigned backup:1;
|
||||
|
||||
NGX_COMPAT_BEGIN(6)
|
||||
#if (NGX_HTTP_UPSTREAM_ZONE)
|
||||
ngx_str_t host;
|
||||
ngx_str_t service;
|
||||
#endif
|
||||
|
||||
NGX_COMPAT_BEGIN(2)
|
||||
NGX_COMPAT_END
|
||||
} ngx_http_upstream_server_t;
|
||||
|
||||
@@ -115,6 +120,7 @@ typedef struct {
|
||||
#define NGX_HTTP_UPSTREAM_FAIL_TIMEOUT 0x0008
|
||||
#define NGX_HTTP_UPSTREAM_DOWN 0x0010
|
||||
#define NGX_HTTP_UPSTREAM_BACKUP 0x0020
|
||||
#define NGX_HTTP_UPSTREAM_MODIFY 0x0040
|
||||
#define NGX_HTTP_UPSTREAM_MAX_CONNS 0x0100
|
||||
|
||||
|
||||
@@ -133,6 +139,8 @@ struct ngx_http_upstream_srv_conf_s {
|
||||
|
||||
#if (NGX_HTTP_UPSTREAM_ZONE)
|
||||
ngx_shm_zone_t *shm_zone;
|
||||
ngx_resolver_t *resolver;
|
||||
ngx_msec_t resolver_timeout;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user