commit | 02615f9b163ba717794b5801611b4ea46ad5f63c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue May 13 22:08:20 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue May 13 22:18:13 2014 +0200 |
tree | 355bec0214d37b543a6ff84390ccee60fb05782c | |
parent | bef1b32c4e9dab4eb7ec9c34ae37edc955df4c7c [diff] |
MINOR: server: remove the SRV_DRAIN flag which can always be deduced This flag is only a copy of (srv->uweight == 0), so better get rid of it to reduce some of the confusion that remains in the code, and use a simple function to return this state based on this weight instead.