mirror of
https://github.com/nginx/nginx.git
synced 2026-10-24 21:13:08 +00:00
Modules compatibility: down flag promoted to a bitmask.
It is to be used as a bitmask with various bits set/reset when appropriate. 63b8b157b776 made a similar change to ngx_http_upstream_rr_peer_t.down and ngx_stream_upstream_rr_peer_t.down.
This commit is contained in:
parent
ccd7e1037e
commit
e7738ce82d
2 changed files with 2 additions and 2 deletions
|
|
@ -98,8 +98,8 @@ typedef struct {
|
|||
ngx_uint_t max_fails;
|
||||
time_t fail_timeout;
|
||||
ngx_msec_t slow_start;
|
||||
ngx_uint_t down;
|
||||
|
||||
unsigned down:1;
|
||||
unsigned backup:1;
|
||||
|
||||
NGX_COMPAT_BEGIN(6)
|
||||
|
|
|
|||
|
|
@ -58,8 +58,8 @@ typedef struct {
|
|||
ngx_uint_t max_fails;
|
||||
time_t fail_timeout;
|
||||
ngx_msec_t slow_start;
|
||||
ngx_uint_t down;
|
||||
|
||||
unsigned down:1;
|
||||
unsigned backup:1;
|
||||
|
||||
NGX_COMPAT_BEGIN(4)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue