]> git.kaiwu.me - nginx.git/commit
Sticky: added "draining" peer state.
authorVladimir Homutov <vl@nginx.com>
Thu, 28 Aug 2014 07:53:49 +0000 (11:53 +0400)
committerAleksei Bavshin <a.bavshin@f5.com>
Mon, 9 Mar 2026 17:08:30 +0000 (11:08 -0600)
commitd12dd2405d659707f75eaa93d45ed762cc5bdd5d
tree661d238dfa4dc8556682ddd8a8dc6fd6a5a1d4b8
parentc5036ad30cfafb233494fa81c0b328aac3eb0e9b
Sticky: added "draining" peer state.

While peer is draining, only sticky requests are served and the peer is never
selected to process new requests.

Co-authored-by: Ruslan Ermilov <ru@nginx.com>
src/http/ngx_http_upstream.c
src/http/ngx_http_upstream_round_robin.c
src/http/ngx_http_upstream_round_robin.h