Changeset 6713:63b8b157b776 in nginx


Ignore:
Timestamp:
09/29/16 15:06:05 (4 years ago)
Author:
Maxim Dounin <mdounin@…>
Branch:
default
Phase:
public
Message:

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.

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/http/ngx_http_upstream_round_robin.h

    r6712 r6713  
    3939    ngx_msec_t                      start_time;
    4040
    41     ngx_uint_t                      down;          /* unsigned  down:1; */
     41    ngx_uint_t                      down;
    4242
    4343#if (NGX_HTTP_SSL)
  • src/stream/ngx_stream_upstream_round_robin.h

    r6712 r6713  
    3939    ngx_msec_t                       start_time;
    4040
    41     ngx_uint_t                       down;         /* unsigned  down:1; */
     41    ngx_uint_t                       down;
    4242
    4343#if (NGX_STREAM_SSL)
Note: See TracChangeset for help on using the changeset viewer.