comparison src/stream/ngx_stream_upstream_round_robin.h @ 6713:63b8b157b776

Modules compatibility: down flag promoted to a bitmask. It is to be used as a bitmask with various bits set/reset when appropriate. Any bit set means that the peer should not be used, that is, exactly what current checks do, no additional changes required.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 29 Sep 2016 18:06:05 +0300
parents fd5c2781460b
children d200a0fd00b7
comparison
equal deleted inserted replaced
6712:fd5c2781460b 6713:63b8b157b776
36 ngx_uint_t max_fails; 36 ngx_uint_t max_fails;
37 time_t fail_timeout; 37 time_t fail_timeout;
38 ngx_msec_t slow_start; 38 ngx_msec_t slow_start;
39 ngx_msec_t start_time; 39 ngx_msec_t start_time;
40 40
41 ngx_uint_t down; /* unsigned down:1; */ 41 ngx_uint_t down;
42 42
43 #if (NGX_STREAM_SSL) 43 #if (NGX_STREAM_SSL)
44 void *ssl_session; 44 void *ssl_session;
45 int ssl_session_len; 45 int ssl_session_len;
46 #endif 46 #endif