Latest update - GitHub 569948a
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#define NGX_STREAM_UPSTREAM_FAIL_TIMEOUT 0x0008
|
||||
#define NGX_STREAM_UPSTREAM_DOWN 0x0010
|
||||
#define NGX_STREAM_UPSTREAM_BACKUP 0x0020
|
||||
#define NGX_STREAM_UPSTREAM_MODIFY 0x0040
|
||||
#define NGX_STREAM_UPSTREAM_MAX_CONNS 0x0100
|
||||
|
||||
|
||||
@@ -62,8 +63,10 @@ typedef struct {
|
||||
|
||||
unsigned backup:1;
|
||||
|
||||
NGX_COMPAT_BEGIN(4)
|
||||
NGX_COMPAT_END
|
||||
#if (NGX_STREAM_UPSTREAM_ZONE)
|
||||
ngx_str_t host;
|
||||
ngx_str_t service;
|
||||
#endif
|
||||
} ngx_stream_upstream_server_t;
|
||||
|
||||
|
||||
@@ -83,6 +86,8 @@ struct ngx_stream_upstream_srv_conf_s {
|
||||
|
||||
#if (NGX_STREAM_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