diff options
author | Ruslan Ermilov <ru@nginx.com> | 2016-09-22 19:32:47 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2016-09-22 19:32:47 +0300 |
commit | f674f32c09c9938d5f2b19509166e5c5e28a9e3c (patch) | |
tree | 225a53166111dd4f818b83a4d603aab4d187e52e /src/stream/ngx_stream_upstream.h | |
parent | fd9e74f656b3a7683424304da3bc859988407acf (diff) | |
download | nginx-f674f32c09c9938d5f2b19509166e5c5e28a9e3c.tar.gz nginx-f674f32c09c9938d5f2b19509166e5c5e28a9e3c.zip |
Upstream: max_conns.
Diffstat (limited to 'src/stream/ngx_stream_upstream.h')
-rw-r--r-- | src/stream/ngx_stream_upstream.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stream/ngx_stream_upstream.h b/src/stream/ngx_stream_upstream.h index 1e9f08fc6..578ae0004 100644 --- a/src/stream/ngx_stream_upstream.h +++ b/src/stream/ngx_stream_upstream.h @@ -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_MAX_CONNS 0x0100 typedef struct { @@ -50,6 +51,7 @@ typedef struct { ngx_addr_t *addrs; ngx_uint_t naddrs; ngx_uint_t weight; + ngx_uint_t max_conns; ngx_uint_t max_fails; time_t fail_timeout; |